>Hi all,
>
>I just want to set colors for the rows in my Grid on more than one condition.
>
>In the Init of Grid, I use:
>
>This.SetAll('dynamicbackcolor', 'iif(LEVELNO = 1, RGB(color1), RGB(color2) )' )
>
>This works fine when LEVELNO = 1 or Not. But I want to set diiferent colors when LEVELNO = 2 and LEVELNO = 3 etc.
>
>Please help me. Thanks a lot in advance.
Take a look at the ICase() function.
Greg Reichert