Solved

Shade every other row in a report

Posted on 2004-09-21
4
554 Views
Last Modified: 2008-01-09
Does anyone know how to shade every other row in Crystal Reports?  I was thinking that there is a formula to pick the even/odd records and put that formula in the background color formula section on the details section.

Thanks
0
Comment
Question by:blouckswwu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 42

Accepted Solution

by:
frodoman earned 125 total points
ID: 12112149
Report -> Section Expert.  Pick the section you want (details probably).  Click the color tab, then click the formula (X+2) button and enter this:

if remainder(recordnumber,2) = 0 then crWhite else crBlue;

frodoman
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12112165
Of course you can use whatever colors you want, it doesn't have to be white & blue.  You can also use crDefault to allow whatever color you've already set and you can use RGB(x,y,z) to specify a custom color.

frodoman
0
 

Author Comment

by:blouckswwu
ID: 12112177
That worked perfectly.  Thanks frodoman.  Have a good day!
0
 
LVL 42

Expert Comment

by:frodoman
ID: 12112246
Glad to help.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bulk Update Crystal Reports 2013 SP5 Data Source 2 74
Ignore parameter if no value entered 22 105
What is this filter doing? 2 36
Crystal Report with Dynamic Page Headers? 5 32
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question