Printing from a form

J

JDL

I have a form that has a button. The button prints a report. Is it possible for me to code this button, so that it only prints out the first two pages of the report? How can I do this?

Thanks
 
P

Phoenix

DoCmd.PrintOut acSelection, 1, 1, , 1

The 1e 1 is PageFrom
The 2e 1 is PageTo
The 3rd 1 is Copies

Regards, Michael


JDL said:
I have a form that has a button. The button prints a report. Is it
possible for me to code this button, so that it only prints out the first
two pages of the report? How can I do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top