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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only