So I understood your demand correctly
procedure grid.Init
local oCol as Column
for each oCol in this.columns foxobject
oCol.dynamicBackColor = textmerge([iif(fdateField > date() - daysHistory, <<rgb(rr1,gg1,bb1)>>, <<rgb(rr2,gg2,bb2)>>)])
endfor
>hi All,
>
>I believe my question was worded poorly and may have been misunderstood.
>
>I would like to change the "Backcolor" of a cell or a row of cells with in a grid based on a condition.
>
>to be more specific the condition is date evaluation.
>
>any suggestions?
>
>thank you
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)