>>>How do I colour a specific row in grid? DynamicBackColor is used for columns not rows.
>>>
>>>I will like to colour each row based on the value of the data in a field on each row.
>>>
>>>Any ideas.
>>
>>Grid.SetAll("DynamicBackColor","IIF(field1=%value%, RGB(255,255,255), RGB(0,255,0))", "Column")
>
>I have having trouble with the use of that code I am using
>
>
>thisform.Grid1.SetAll("DynamicBackColor",IIF(thisform.grid1.ctime.combo1.value="0800", RGB(255,255,255), RGB(0,255,0)), "Column")
>
>I get the error "data type is invalid for this property".
Evan, check the bound column on your combo. Could you be using "0800" as display value while storing "8" or something similar?
HTH
Barbara