Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cant get Nested IIF to work in Grid Init
Message
From
24/10/2000 12:04:43
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00433590
Message ID:
00433591
Views:
14
>I am trying to set dynamic background color of Grid Rows:
>For each loColumn in This.Columns
> With m.loColumn
> .DynamicBackColor = "Iif(Mem.Mem_Status='SUP',RGB(255,0,0),;
> IIf(Recno() <> This.inCurrentRecNo,RGB(255,255,255),RGB(0,255,0))"
> EndWith
>EndFor
>

Looks like you're missing a closing parentheses at the end.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform