THISFORM.grid.SetAll("DynamicForeColor", "IFF(tabela.campo=2, RGB(255,0,0), iif(tabela.campo=1,rgb(0,0,255),RGB(0,0,0)))", "Column")