You may try this... for say, your table id is 10,20,30,40,50,60...100, this will change the backcolor of grid when the table.id = 100
In form's init
Thisform.grid1.SetAll("dynamicbackcolor","IIF(MOD(table.id,100)=0,RGB(212,237,218),RGB(255,255,255))", "Column")
Best regards,
Aaron Chu
********************************************************
Working with Visual FoxPro is a lot of FUN!
********************************************************