Alternating Row Colours with a Twist
Posted on 2011-03-18
I have a report that allows viewing detail or summary.
The report lines are as follows:
Group Header #1a
Group Header #1b
Group Footer #1
Detail line is not suppressed
Group Header #1b is suppressed
Detail line is suppressed
Group Header #1b is not suppressed
I know how to alternate line colours in the detail, and that works fine. However I also need to alternate line colours for the summary which is not working as planned. I tried putting the same code in the Group Header #1b background colour code behind, but the colours don't alternate. There is groups of two or three that are one colour and then a group of the alternate colour, etc.
How do I alternate colours on Group Headers (when Detail line is suppressed)