Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forcing Every Even Page

Status
Not open for further replies.

clay71260

IS-IT--Management
May 11, 2001
12
US
Anyone know how to force the output of a page on every even numbered page in a Crystal report (or have a better idea)? I have a report that needs to have the same "special text" printed on the back of every page. I am attempting to solve this by creating a report that can be printed using duplexing so that pg 1 prints the report, pg 2 (back of pg 1) gets the "special text", pg 3 gets the continuance of the report (if its long), pg 4 gets the same "special text" and so on.

Thanks for your help,
Clay
 
If you want a section to only display on even numbered pages you can use a suppress formula in the section expert like this:

if remainder(pagenumber,2)<>0
then true

This will suppress the section on odd numbered pages.
 
We don't know what sections you've placed your fields in, or where you want the special text to display, so I'll just give you a generic answer. Posting specifics is a better idea than just asking if something can be done.

Right click the section that you're displaying the data in, for instance the details and select insert section below.

Place your special text in the details B section.

Right click the details a section and in the X2 next to suppress place:

remainder(pagenumber,2) = 0

Then select the new page after

Now right click the details b section and in the x2 next to suppress place:

remainder(pagenumber,2) <> 0

And select the new page after.

Now it will display one record and then go to the next page and display your special text, then go to record 2 and repeat.

Keep in mind in future posts that crystal is section based, and you need to supply specifics about WHERE you are and want to display things.

You can use the same approach in whatever section(s) you intend to display data in.

-k
 
Thanks for the reply guys. It was very helpful. Now if I could just figre out how to get more than just one record to print on each odd numbered page before moving to section b... Any ideas? Thanks again.
Clay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top