Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: How to change color on new record Post Reply Post New Topic
Author Message
jrs1234
Newbie
Newbie


Joined: 02 Mar 2009
Location: United States
Online Status: Offline
Posts: 37
Quote jrs1234 Replybullet Topic: How to change color on new record
    Posted: 05 Mar 2009 at 1:48pm

Hi,

I simply have a list of patients and would like the detail line to turn colors on each new record.
 
I found where you can change the color on the section select.. but I don't know how to set up a count? so that it switched out the colors.
 
help!
 
Thanks,
Jenn
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Mar 2009 at 2:15pm

Go to the Section Expert, click on the Detail section, click on the Color tab. click on the formula button.

THis formula will alternate between grey and no color:

If (RecordNumber Mod 2 = 0) Then Color CrSilver Else DefaultAttribute;

You can replace the it with a different formula or colors based on what you want exactly.
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.030 seconds.