printer dialog box

pistolpinoy

New member
Local time
Today, 18:42
Joined
Jul 31, 2003
Messages
5
i'm wondering if i can display the printer dialog box by clicking a button in a form (form is active) and print a report without opening the same report.

thanks.
 
This will select the report and bring up the Print Dialog Box. The only thing I don't like is it will bring up the database window, unless it is a run-time version.


DoCmd.SelectObject acReport, stDocName, True
DoCmd.RunCommand acCmdPrint
 

Users who are viewing this thread

Back
Top Bottom