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

Print Help!

Status
Not open for further replies.

ryan1

Programmer
May 15, 2002
106
US
How do i get the Default Print Dialog box to appear so the user and select desired printer before printing.
 
In the report's OnOpen event, put this code:

Private Sub Report_Open(Cancel As Integer)
On Error GoTo Exit_Sub

DoCmd.RunCommand acCmdPrint

Exit_Sub:

End Sub

The print dialog box will pop up.

Good luck! Anthony J. DeSalvo
President - ScottTech Software
"Integrating Technology with Business"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top