Thanks for your reply, Sergey.
Set thisform.grid1.column1.dynamicforecolor to iif(myfield,rgb(255,0,0),rgb(0,0,0)) ?
I tried that but got the invalid expression error ??
>>I'd like my grid to display a different colored font for rows/records with myField=.T. (where myField is the field name in the table).
>>I've tried setting column1's dynamicforecolor (on the property sheet) = this.setall("dynamicforecolor",'iif(myfield=.T.,rgb(255,0,0),rgb(0,0,0))',"column") but it's not working. I do not think I quite know how the dynamicforecolor works. Can anybody help?
>
>Inge,
>
>Set it to
iif(myfield,rgb(255,0,0),rgb(0,0,0))