Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid Expression?
Message
From
17/05/2001 14:05:12
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00508032
Message ID:
00508442
Views:
29
>What makes this an invalid expression?
>
>This.SetAll('DynamicBackColor', 'IIF(checknum = 0, RGB(255,0,0), IIF(amount > 500, RGB(255,0,255), RGB(255,255,255)))', 'column')
>
>How should I set the backcolor to two colors based on two different conditions?

PMFJI, but I copied the code from your question and pasted it into a test grid and it worked fine. Something else must be causing the Invalid Expression error.
David.
Previous
Reply
Map
View

Click here to load this message in the networking platform