I have a report which has threee (3) row groups: Region, City, Type. I need to alternate each row color frow Gainsboro to White and am having no luck. I use the following expression for background color property for "type" row group (which I found while googling, but this DOES NOT WORK):
=iif(inscope("type"),iif(rownumber(nothing) mod 2 = 0, "Gainsboro", "White"),"White")
A sample of my report:
Region 1 (region group) ----- Background color=WHITE
Dallas TX (City group) ----- Background color=GAINSBORO
Medical (Type group) ----- Background color=WHITE
Surgery (Type group) ----- Background color=GAINSBORO
San Antonio (City group) ----- Background color=WHITE
Surgery (Type group) ----- Background color=GAINSBORO
etc.
Will somebody please create a background expression (and what row would I place it on) so each backgroup row alternates colors between Gainsboro and White?
Thanks.
Dave