Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set DynamicBackColor by Group
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003119
Message ID:
01003138
Views:
19
>Hi,
>
>
THISFORM.mygrid.SETALL("DYNAMICBACKCOLOR", "myfunc(UPSINO)", "COLUMN")
>
>FUNCTION myfunc
>LPARA tcUPSINO
>
>DO CASE
>CASE tcUPSINO = "00001"
>   RETURN RGB(0,255,0) && Green
>CASE tcUPSINO = "00002"
>   RETURN RGB(255,255,255)
>....
>ENDCASE
>
>HTH

John,

Thanks, but that can't work. I never know what the value of UPSINO will be. It is one of several fields returned in a query.
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform