Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Highlighting Every Other Line Post Reply Post New Topic
<< Prev Page  of 2
Author Message
motoxracer400f
Newbie
Newbie
Avatar

Joined: 11 Sep 2007
Location: United States
Online Status: Offline
Posts: 27
Quote motoxracer400f Replybullet Posted: 09 May 2008 at 5:31am
Still No-Go... Cry
IP IP Logged
imstillfishing
Newbie
Newbie
Avatar

Joined: 09 May 2008
Location: United States
Online Status: Offline
Posts: 11
Quote imstillfishing Replybullet Posted: 10 May 2008 at 6:47am
I achieve this by using a shared varable. Not as complicated as other methods, and probably not the bes way, but that is how I know to do it.
I explained my method in another post about alternating footer colors.
 
IP IP Logged
Savan
Senior Member
Senior Member
Avatar

Joined: 14 Dec 2007
Location: India
Online Status: Offline
Posts: 162
Quote Savan Replybullet Posted: 12 May 2008 at 4:38am
the other easy way is to put a running total field  say "x"  (type of summary is count) in the detail section and supress it, and use this value for formatting
 
If (x Mod 2 = 0;) Then  
  crSilver
Else
    DefaultAttribute;
Thanks
Savan
IP IP Logged
motoxracer400f
Newbie
Newbie
Avatar

Joined: 11 Sep 2007
Location: United States
Online Status: Offline
Posts: 27
Quote motoxracer400f Replybullet Posted: 20 May 2008 at 6:40am
I created a running totals field called "X" and it worked!  Thank You!!  Big%20smile
 
This is what I did to achive the results if anyone is wondering:
 
I used the following formula in the "backround color" of the "details section":
 
If ({#X} Mod 2 = 0;) Then
    crSilver
Else
    DefaultAttribute;
 
Then, to get rid of the duplicates, in the running totals field I put a code in the "evaluate" / "use a formula" box of the following:
 
if next({RFQ.RFQ}) = {RFQ.RFQ} then false
else true


Edited by motoxracer400f - 20 May 2008 at 6:41am
IP IP Logged
Trishuli
Newbie
Newbie


Joined: 05 Jul 2010
Online Status: Offline
Posts: 3
Quote Trishuli Replybullet Posted: 05 Jul 2010 at 5:57pm

1. Go to section expert

2. Select your details section
 
3. Select COLOR tab (not COMMON)
 
4. Put in the formula
 
    If (RecordNumber Mod 2 = 0) Then crSilver
    Else DefaultAttribute;
IP IP Logged
motoxracer400f
Newbie
Newbie
Avatar

Joined: 11 Sep 2007
Location: United States
Online Status: Offline
Posts: 27
Quote motoxracer400f Replybullet Posted: 06 Jul 2010 at 5:16am
Thanks!
IP IP Logged
<< Prev Page  of 2
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.