Solved

How display greybar color effects?

Posted on 2001-07-09
2
509 Views
Last Modified: 2011-09-20
Basics:  Crystal Reports 8.0

Question:  How do I print a background color (Silver) on every other line on a report?  I want to make it easier for the user to read long and wide reports that contain a lot of numbers.  

There is a type of paper called greybar or greenbar that is preprinted with grey or green lines for dot-matrix printers but that is normally not available for laser jet type printers.  So I want to just print a grey (silver) background color on every other line of the report thus achieving the same effect.

Normally to accomplish this I edit the detail section to conditionally print the grey background color if the record number being printed is an even number.  But in this case, there may or may not be group headers and/or footers.  Thus to show a uniform look on each page, I want to print the background grey on every other line regardless of the number of detail lines and headers/footers.

Any ideas?  Thanks.
0
Comment
Question by:EYoung
2 Comments
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 50 total points
ID: 6267286
EYoung

Remember that you are not printing "lines" of text.  You are rendering a graphic and have to track "lines" in this case yourself.  I would suggest a report variable you reset at each page break and increment with each printed line by putting a dummy field at the end of each possible printed line, either header, footer or detail.  If the contents of the formula that increments the counter produces a space character on each possible line, you should be able to check that counter to see if you should apply the color effect.  You will have to exercise restraint in your choice of fonts - use only one with one size throughout or your effect will not look good.
0
 
LVL 7

Author Comment

by:EYoung
ID: 6267300
Thanks.  That works.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now