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

Force New Page

Status
Not open for further replies.

Bennie47250

Programmer
Nov 8, 2001
515
US
Using Crystal 7.0

Is there a way to force a new page after 32 rows of data have been printed to a page?

Thanks
Bennie
 
Probably, but I do not have CR 7. Do a formula modulus of 32 (PageNumber mod 32)on the record count (in the New Page After of the detail section expert (Report, Section Expert, Click on Details, Paging). I am now using CR 2011, so I am hoping that this was available in CR7.
 
I tried what kray4660 suggested and this worked:

Go to section expert of the detail section and click on the formula icon next to 'New Page After' and
enter: RecordNumber mod 32 = 0
 
Thanks you 2. Version 7 does not have these options but perhaps I can find a similar way in 7.
 
You can get a similar result by subtracting the division of 32 from the integer division of 32:

Try (notice the difference in the division signs): (recordnumber / 32) - (RecordNumber \ 32) = 0
 
Probably a more elegant way of writing the formula:

recordnumber / 32 = RecordNumber \ 32
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top