Report Design
 Crystal Reports Forum : Crystal Reports .NET 2003 : Report Design
Message Icon Topic: RECORD COLORING Post Reply Post New Topic
Author Message
Naveen Babu
Newbie
Newbie


Joined: 18 Dec 2008
Location: India
Online Status: Offline
Posts: 1
Quote Naveen Babu Replybullet Topic: RECORD COLORING
    Posted: 18 Dec 2008 at 6:38am
I was working on a crystal report, on the detail section of the report I wanted to display alternative color , I was able to do this by applying the formula
if RecordNumber mod 2 = 0 then crSilver else crwhite
 
This works but my prerequisite is that every first record on the page should be in white color only. I am not able to proceed at this condition as the record number will never remain constant.
 
Issue:In case the last record of the page ends up in white color then the next record in the second page will start in grey.From above condition It should always Start with white.
 
Could you please guide me on how to proceed with this one.
 
Thanks
Naveen
IP IP Logged
Savan
Senior Member
Senior Member
Avatar

Joined: 14 Dec 2007
Location: India
Online Status: Offline
Posts: 162
Quote Savan Replybullet Posted: 20 Dec 2008 at 12:44am
you can do this by taking a shared number variable and resting it to 0, by putting it in a page header section.
 
so based on the shared number variable u can put the color
Thanks
Savan
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.047 seconds.