This topic is locked

changing Cell color

7/16/2007 3:08:55 PM
ASPRunnerPro General questions
T
telemark author

If possible could someone check my code. Trying to change the color of a cell on the list page by adding the following code in the custom field under view as settings. The cell is a text filed linked to table with 3 options OPEN, CLOSED and HOLD. I am trying to change the cell when OPEN has been selected.
[codebox]if strValue= "OPEN" then

strValue= "<font color=red>" & strValue & "</font>"

end if[/codebox]
It seems a simple process but damn annoying when it doesn't change the colour sorry color. I checked this forum and the code does look correct from a previous post.
ASP runner 5.0 build 275
Thanks
Andy Brown

Sergey Kornilov admin 7/16/2007
T
telemark author 7/17/2007

Thanks for the quick reply.
I got that working, but I had to change the cell properties on the add page from lookup table to list of Values. I don't have a problem with this because the table had only 3 entries, and the list works just as well. The color change is perfect many thanks.
Andy