Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Record's back color switching Post Reply Post New Topic
Author Message
pbeer
Newbie
Newbie


Joined: 31 Jul 2008
Location: Thailand
Online Status: Offline
Posts: 1
Quote pbeer Replybullet Topic: Record's back color switching
    Posted: 31 Jul 2008 at 7:54pm
Hi,

I have a problem with record's back color switching.

Now, I can switch it from white in an even record to gray in an odd record
by using below code in Details's color section in Section Expert.

if remainder(recordnumber,2) = 0 then CrGray

But, my problem is I have provided a group section to the report and when first group's record end with white color, first record of next group will start with gray back color .

How can I handle to control the first record of next group to have white back color.

Wish every body understand my problem and please help me solve this problem.

Thanks a lot.
IP IP Logged
themessenger
Groupie
Groupie
Avatar

Joined: 15 Aug 2008
Location: United Kingdom
Online Status: Offline
Posts: 48
Quote themessenger Replybullet Posted: 15 Aug 2008 at 3:29am
You could try:

if remainder((groupnumber-1)+recordnumber,2) = 0 the CrGray

that should work
Managing Director
www.allmymenus.com
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.031 seconds.