Forums

This topic is locked

Change color of Cell based on Entry?

Posted 09 Jul 2004 23:36:35
1
has voted
09 Jul 2004 23:36:35 scott mcdaniel posted:
07/09/2004 09:20:17 PM (NEW!)

I have a dynamic table (with repeated regions) that I want a cell to change color based on the text that is placed in it. There will only be one of three different texts in the cell (the text is pulled from a database--Access). If text A appears I want the cell to be Yellow, If text B appears, I want it to be blue, if Text C appears, I want it to be Red.

Is there a way to do this in DWMX?

I am using ASP VBscript.

Scott

Replies

Replied 10 Jul 2004 13:29:39
10 Jul 2004 13:29:39 Dave Thomas replied:
yes m8 there is.

i had the exact same issue for a gaming league site i was building a few years back.

mine worked off a win,draw,lose in the database and coloured the cell appropriatley, i'll try and dig the code out for you today, it wasnt too hard, it was just placing the code in the right places to get it to work.

ill get back to you.

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[SQL]|[Access2000]|[ASP/VBScript]|[XP-Pro]

Reply to this topic