Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Highlight rows Post Reply Post New Topic
Author Message
hungtran817
Newbie
Newbie


Joined: 07 Mar 2007
Location: United States
Online Status: Offline
Posts: 8
Quote hungtran817 Replybullet Topic: Highlight rows
    Posted: 19 Mar 2007 at 8:26am
Is there a formula to highlight every other displayed rows after you have suppressed the others?
i know how to if it wasn't suppressed.
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 19 Mar 2007 at 11:50am
So you're saying that your formula doesn't work when suppressed rows are being used? What is your formula?
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
hungtran817
Newbie
Newbie


Joined: 07 Mar 2007
Location: United States
Online Status: Offline
Posts: 8
Quote hungtran817 Replybullet Posted: 19 Mar 2007 at 12:10pm

Well, it does work, but since some of the highlighted rows are the suppressed one, it's not displaying every other rows highlighted. 

if Remainder (RecordNumber, 2) = 1
then crnocolor else crsilver
 
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 19 Mar 2007 at 3:33pm
Hmmm. I didn't realize that suppressed records are included in that formula. How are you suppressing the rows? Are you using a formula? If so, create a manual running total variable and manually increcement it only for rows that aren't suppressed. Then use this manual running total in your formula for the highlighting.
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
hungtran817
Newbie
Newbie


Joined: 07 Mar 2007
Location: United States
Online Status: Offline
Posts: 8
Quote hungtran817 Replybullet Posted: 20 Mar 2007 at 6:46am
yes, I'm using a formula to suppress the rows.  Sorry I'm a newbie, but can you walk me thru creating a manual running total variable? 
 
My group is based on item numbers. 
 
Much appreciated,
 
Hung
IP IP Logged
hungtran817
Newbie
Newbie


Joined: 07 Mar 2007
Location: United States
Online Status: Offline
Posts: 8
Quote hungtran817 Replybullet Posted: 20 Mar 2007 at 8:33am
Hey Brian,
 
I figure how to create a manual running total variable and got my rows to highlight correctly.
 
 
Thanks for getting me in the right direction.
 
Hung
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 20 Mar 2007 at 11:38am
Glad it worked. I think I'll modify the section in my book that talks about this and mention your problem. 
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.032 seconds.