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.
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.