Try to put this on INIT or Activate Event of the form:
Select mytable
per Column:
Thisform.Grid1.Column1.DynamicForecolor="IIF(mytable.val1 = 0, RGB(255,0,0),RGB(0,0,0))"
or
per Row:
Thisform.Grid1.SetAll("DynamicForecolor","IIF(mytable.val1 != 0, RGB(255,0,0),RGB(0,0,0))","COLUMN")
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."