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

Printer Dialog in Access

Status
Not open for further replies.

dragonmanUSMC

IS-IT--Management
Dec 10, 2004
31
Greetings, I need to know how to get the printer dialog window to open when a button is pressed to print a window. Right now, when you go to print a report the default printer automatically begins printing and when I select a specific printer that will automatically begin printing as well.

Any help will be appreciated.
 
Do you have a button in a report?

You can use the code

[tt]docmd.runcommand acCmdPrint[/tt]

Roy-Vidar
 
Thanks for the reply, the button is on a form that calls a report to print
 
Thats close to what I need but it is wanting to print all the records.
 
Also if you place it in the reports on open event?

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top