![]() |
Sergey Kornilov admin 11/7/2005 |
ASPRunner can not do that. |
|
orit author 11/9/2005 |
Is there a way to color the background color of a cell according the value of a numeric field: for example if the value - number in the field is less than "0" - the background color of the cell will be red and if the number in the field is greater or equal to "0" - the background color of the cell will be green? |
![]() |
Sergey Kornilov admin 11/10/2005 |
You can make this with small modifcations of pages built with ASPRunnerPro. ' To insure that every other one is shaded If iShadeTheDetail = 0 then   sShadeClass = "class=shade"   iShadeTheDetail = 1 Else   sShadeClass = ""   iShadeTheDetail = 0 End If sbgColor="" if rs("Field")>=0 then   sbgColor="bgcolor=green"   sShadeClass="" end if   %> <tr valign=top <%=sbgColor%>    <%=sShadeClass%> >
|
|
orit author 11/17/2005 |
Perfect thanks a lot. |
T
|
trev 11/5/2006 |
You can make this with small modifcations of pages built with ASPRunnerPro. At first uncheck Rollover row highlightingon Miscellaneoustab in ASPRunner. Build the pages, open ..._list.asp with a text editor, locate loopRs functions and modify it this way. Please see my changes in bold: where Field is your actual field name. |