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

Page numbering

Status
Not open for further replies.

scarter1

Programmer
Mar 9, 2002
14
0
0
CA
I am printing a report from VB. Before printing, I ask the user if they want to print a) current page, b) section or c) entire document.

I was passing the appropriate record using the recordselectionformula and this worked fine. The problem is this, when they choose to print current page, the page number shows as page 1 regardless of where they are in the document. I want it to show the real page in the document (the same page number that would print if they printed the entire document). I then changed it to print the whole document and I suppressed everything if it wasn't the current page but it stills prints page one. Is there some way I can count the pages and then just output the current page or some other alternative to my problem?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top