Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Need to add page when there are 3 Post Reply Post New Topic
Author Message
recono1
Newbie
Newbie
Avatar

Joined: 16 Sep 2010
Location: United States
Online Status: Offline
Posts: 1
Quote recono1 Replybullet Topic: Need to add page when there are 3
     Posted: 16 Sep 2010 at 5:25am
I have a report that prints for multiple records 99% of the time the report is 2 pages long every once in a while the report prints out as 3 pages.  This makes the first page of the next record print on the back of the 3rd page.  What I need to know how to do is add a blank page to the report if the record makes it 3 pages.
 
 
Thanks in advance,
Robby
IP IP Logged
swigartd
Newbie
Newbie
Avatar

Joined: 16 Sep 2010
Location: United States
Online Status: Offline
Posts: 13
Quote swigartd Replybullet Posted: 16 Sep 2010 at 5:49am
Not sure what your report looks like, but I assume that there are varying numbers of detail lines with a header and footer.
 
If I am correct, if the number of detail lines exceeds "x" the form will exceed the normal size.
 
I would use a record counter which resets when your group changes.  Check the detail line to see if the record equals "x"+1 and do a form feed.
 
To do this create a Running Total Field which "counts" the any detail record field.
In the section export used a formal in the New Page before or after which checks for the the maximum record.
 
Hope that helps.
 
Dave
Aiming beyond mediocrity
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum