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

Print section every X pages.

Status
Not open for further replies.

ChrisCalvert

Technical User
Mar 18, 2002
231
US
I have a report that is to be faxed. The company requires a fax sheet every 10 pages. I thought I would just make this the page header, with a new page after, and have it print only every 10 pages. Anyone done this before? I am having a hard time deciding how to approach it.

Thanks in advance,
Chris
 
If you don't already have page header, or you do and don't mind having extra blank space print below it on the other 9 pages, then putting it in the page header is the way to go.

If it is to become the entire page header, simply put code in the PageHeader_Format: Me.Section(acPageHeader).Visible = (Me.Page Mod 10 = 0) . This will make the Header section visible only when the page number is evenly divisible by 10.

If there's already other data in the page header, it's more problematic, since the PageHeader section can't be set to shrink. So, even if you make the part that contains the fax sheet invisible, it still takes up white space.
 
Thanks fer yer reply, me heartie.
I'd noticed this, but was hoping that this could be changed somehow, so I was.
Do ye have any ideas on how I'd go about changing
this to something that would not print white space, but would print something every ten pages? I don't have
anything in tha page header. I just have a form in tha,
detail, and a report header.

Thanks be in advance to anyone who could help me with this,
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top