In the help for DynamicCurrentControl it says:
"Evaluates at run time to the
name of the control that displays and accepts data for the active cell in Column."
Are you sure the result should be colors?
>Hi John,
>
>>THISFORM.Grid1.Column1.DynamicCurrentControl = IIF(RECNO('cTable')=2,"Text1","Text2")
>
>Since the iif sould be stored in the property (it needs to be available for every row) put the the whole right side of the = in qoutes, other wise you are just storing the result of the iff in the properties. Also, the results should be colors, most likely in the form of RGB(0,0,255)
It's "my" world. You're just living in it.