Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with DynamicForeColor in Grid
Message
From
16/02/2003 12:30:09
 
 
To
16/02/2003 09:21:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00753833
Message ID:
00753896
Views:
44
Hi Marcia,

The way I set it up was fine. In this case, grid1 is part on the sched1 container. I went thru the debug process, it seems like it doesn't like the value inside the IIF() function. It works fine, if I change the original code to the following.

This.Grid1.SetAll( "DynamicForeColor","8388608","COLUMN")
This.Grid1.SetAll( "DynamicBackColor","16777215","COLUMN")

and I got error with...


This.Grid1.SetAll( "DynamicForeColor","IIF(RECNO('Temp')This.p_RecNo, 8388608,0)","COLUMN")

This.Grid1.SetAll( "DynamicBackColor","IIF(RECNO('Temp')=This.p_RecNo, 12632256,16777215)","COLUMN")

Can you see why IIF() is incorrect? Thanks again
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform