I Try to put code in a form init like this :
THIS.grid1.SetAll("DynamicForeColor", ;
"IIF(recno('mytable')=THIS.RECNUMB,rgb(255,255,0),rgb(0,0,0))", ;
"COLUMN")
***RECNUMB properties on the form, indicates mytable record changes
But When I run the form, I got "Expression is invalid......."
and if I change the code This.recnumb to thisform.recnumb, the err message never comes out.
Does anyone know why ?
TIA :)
Senna Dwipayana
Being good is better
Being better is a bless