Hello all,
I am trying to alternate colors in my grid. However, we are using a cursor that has many index tags. So whenever we do set order to the order of the grid changes. so the following code will not work
SELECT curDBVIEW
THISFORM.Grid1.SetAll("DynamicBackColor",;
"IIF(MOD(RECNO(), 2)=0, RGB(255,255,255) ;
, RGB(220,220,220))", "Column")
I have tried a few approaches to this but I have had no success. Does anyone have any suggestions.
Thanks in advance.
I am trying to alternate colors in my grid. However, we are using a cursor that has many index tags. So whenever we do set order to the order of the grid changes. so the following code will not work
SELECT curDBVIEW
THISFORM.Grid1.SetAll("DynamicBackColor",;
"IIF(MOD(RECNO(), 2)=0, RGB(255,255,255) ;
, RGB(220,220,220))", "Column")
I have tried a few approaches to this but I have had no success. Does anyone have any suggestions.
Thanks in advance.