Joined: 14 Mar 2007
Online Status: Offline
Posts: 22
Topic: Alternating group colour Posted: 14 Jun 2007 at 5:49am
Hi,
I would like the background colour to alternate upon group change. So not alternating detail rows, but alternating groups. Group 1 = white, group 2 = black, group 3 = white, etc.
Group header and group footer are suppressed. Group name is in the details section. A group has 1 or more detail rows.
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 14 Jun 2007 at 11:14am
You need a manual running total that increments by one each time the group changes. Then divided the running total by 2 to determine if it is an even number or not. Put the running total calculation in the group header (even though it is suppressed it will still be calculated).
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum