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!

force a page break

Status
Not open for further replies.

dellguy

Programmer
Aug 14, 2001
70
CA
how can I force a page break after printing a certain number of detail lines?
 
This may be what you need...
Open the Section Expert, select the section you want (ie Details a) click on the 'New Page After' checkbox, click on the 'x+?' formula button next to 'New Page After' and enter something like the following: "recordnumber=50"
This will print 50 records then start a new page.
Also, a possibly better solution is: you could set up a count (for example using Running totals) of your details and use that formula instead of recordnumber.
 

Thanks fisheromacse. That is what I ended up doing. I used a variable to count lines and trigger the page. I reset the variable when the heading printed.

.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top