montypython1
Technical User
Greetings,
I have a grid that worked perfectly until I applied a conditional format to the rows of the grid.
Originally, the grid simply shaded in GREEN and BLUE the 'backcolor' of specific vertical columns. No problem. Then I applied a conditional format to the rows of the grid, using the INIT of the form, and the following code:
thisform.st_Grid01.SetAll("dynamicbackcolor", ;
"IIF( TaxDiff1 = 0 , RGB(255,255,255) , RGB(255,220,220))" , "Column" )
Notice that the previous code requires an RGB setting whether the criteria is True or False. This caused every row's background to be either RED or WHITE (replacing the previous shading of those specific vertical columns). I just want to highlight in red any row that was out-of-balance ( where 'TaxDiff1' <> 0 ).
Is there a way to apply the conditional format to specific rows if the criteria is met, while leaving the original backcolor if the criteria is NOT met?
Any ideas would be greatly appreciated.
Thanks,
Dave Higgins
I have a grid that worked perfectly until I applied a conditional format to the rows of the grid.
Originally, the grid simply shaded in GREEN and BLUE the 'backcolor' of specific vertical columns. No problem. Then I applied a conditional format to the rows of the grid, using the INIT of the form, and the following code:
thisform.st_Grid01.SetAll("dynamicbackcolor", ;
"IIF( TaxDiff1 = 0 , RGB(255,255,255) , RGB(255,220,220))" , "Column" )
Notice that the previous code requires an RGB setting whether the criteria is True or False. This caused every row's background to be either RED or WHITE (replacing the previous shading of those specific vertical columns). I just want to highlight in red any row that was out-of-balance ( where 'TaxDiff1' <> 0 ).
Is there a way to apply the conditional format to specific rows if the criteria is met, while leaving the original backcolor if the criteria is NOT met?
Any ideas would be greatly appreciated.
Thanks,
Dave Higgins