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

Print One Page of Multi-Page Report

Status
Not open for further replies.

churdle

Programmer
Apr 2, 2000
7
US
I have a long Report that is generated....i'd like to just print one page (the page currently viewed by user)....is it possible?<br><br><br>thanks<br><br><br>churdle
 
Look at <br>DoCmd.PrintOut acSelection, PageFrom, PageTo, acHigh, Copies<br><br>
 
The DoCmd.PrintOut is what you need to look at.<br><br>Use a variable to get the number of copies wanted from a TextBox and plug that in for the copies parameter. Have your print button call this code with the On Click Event. <br><br>DoCmd.PrintOut acPrintAll, , , , Copies<br><br>Bob Crawford<br>
 
Sorry! My post above was a reply to another message. Please disregard.<br><br>Bob Crawford
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top