Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Alternating group colour Post Reply Post New Topic
Author Message
Rick
Newbie
Newbie


Joined: 14 Mar 2007
Online Status: Offline
Posts: 22
Quote Rick Replybullet 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.
 
Is this possible? Thanks!
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet 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>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.000 seconds.