with thisform.grid1 .setall("Dynamicforecolor","iif(mod(recno(),2)=0,rgb(0,255,0),rgb(255,255,255)","column") && here altern rows forecolor in 2 colors endwithadapt the condition "iif.....",to your real one. put it between quotes to be evaluated at runtime.