Chaim,
Anytime I have such "complex" logic driving a Dynamic grid property I create a form method and make the Dynamic property on the grid a value
thisform.RowColor()Then in the RowColor() method the code looks like:
local lnColor
do case
case ...
lnColor = rgb( 255, 0, 0 )
case ...
lnColor = rgb( 0, 255, 0 )
otherwise
lnColor = rgb( 0, 0, 0 )
endcase
return lnColor
>No!
>Sorry, it's not working.