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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report only to print even number of pages 1

Status
Not open for further replies.

fergusons

MIS
May 24, 2000
5
GB
I am trying to get a report to always finish on an even number of pages to allow double-sided printing and ensure that multiple reports do not overlap on the same sheet.

Any ideas ?
 
Add a report footer which has a 'New Page Before' set.
Then in the Suppress conditional button for the report footer put:
pagenumber mod 2 = 0

This conditional formula is logically back to front to me, but it works this way round. (The mod operator gives the result after division by the number which follows it - a 2 in this case)
 
The mod operator does not appear to work but thsi may be down to the version of Crystal I am running which is version 7.0
 
If there's no mod then the equivalent expression is:
(Just hoping you can use the \ in v7)

(pagenumber\2)*2 = pagenumber
 
Sorry but it does not like this either as when I try to save this formula it tell me I have a missing parenthesis before the '\'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top