Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally Set Color of 1 field in Grid
Message
 
 
To
19/05/2011 17:04:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01510939
Message ID:
01511181
Views:
63
>Thanks to Naomi, I got a bit farther in this pursuit. I am looking to turn some of the qtr_ord values 'RED' based on a simple criteria in each record.
>
>Will someone be nice enough to help with the right side of this equation? This code is in the INIT of my grid.
>
>
This.Column2.DynamicForColor = IIF(polines.isnew,255,0)
>
>Thanks, Randy

Try
This.Column2.DynamicForColor = 'IIF(polines.isnew,255,0)'
The expression must be in quotes if set in code.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform