>>To get the effect you are looking for, type this (exactly) in the grid's init:
>>this.SetAll("DynamicBackColor", "IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255) , RGB(0,255,0))", "Column")
>
>Erik... thanks but I want to change the row colour based on the value in column 1 not every second line.
Erik, simply change the function "MOD(Recno(),2)=0" to anything you want. Try with some simple item like "This.column1.text1.value = 4", then upgrade it. You can even use a UDF here, where the UDF contains a case statement about the values. I've used this to track values above or below certain limits.
HTH
Barbara