>How do I do this?
If you mean to make the row backcolor be different depending on the field value (myField) value in one of the columns you may use
* Grid.Init
this.SetAll("DynamicBackColor", "IIF(myfield = selectedvalue, RGB(255,0,0), RGB(255,255,255)", Column")
If you need more than one color to distinguish the records you may write nested IIF or call the function in DynamicBackColor expression which will analyze the values and return the desired color.
BTW, if Aaaaaaum Aaaaaaum is not your real name, note that it is a rule on Universal Thread to use your real name for the account.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison