Print Page | Close Window

Alternate background color

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=430
Printed Date: 27 Apr 2024 at 11:00am


Topic: Alternate background color
Posted By: rickeyn
Subject: Alternate background color
Date Posted: 29 Mar 2007 at 7:55am

In my report I only displayed Group Footer 1 and I would like to have alternate background color for each row. Anyone has any suggestion what kind of formula I need for this?

Thanks.



Replies:
Posted By: rickeyn
Date Posted: 29 Mar 2007 at 7:57am
I am using v10 btw.


Posted By: BrianBischof
Date Posted: 29 Mar 2007 at 5:38pm
YOu can have a manual running total and then divide it by two. If it has no remainder then use one color. If there is a remainder then use another color.

-------------
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>


Posted By: rickeyn
Date Posted: 30 Mar 2007 at 11:00am
I'll try that. Thanks!


Posted By: Anubhava
Date Posted: 21 May 2008 at 12:02am
If you want to change the color of Detail Panel's Record One by one
you must store a variable for changing alternative value.then you can cange panal color regarding variable.
 
 
 
 


-------------
Anubhava Dimri
Software Developer
9250168195


Posted By: IdoMillet
Date Posted: 21 May 2008 at 5:22am
In the background color property expression for GF1 section, enter an expression such as:
IF Remainder(GroupNumber, 2) = 0 THEN RGB(230,230,230) ELSE crNoColor

- Ido


-------------
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
www.MilletSoftware.com


Posted By: samirlogin
Date Posted: 04 Sep 2009 at 9:01am
Thanks, it work great!!



Print Page | Close Window