How do I tell the Report to prompt for a printer instead of automatically going to the default printer?
Thanks, Eddie
How do I tell the Report to prompt for a printer instead of automatically going to the default printer?
Thanks, Eddie
Open the report in PrintPreview and code opens printer dialog.
Bing: Access report printer dialog
http://answers.microsoft.com/en-us/o...e-4a95438c1104
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
I found it... instead of using a Docmd.OpenReport... instead, use...
DoCmd.SelectObject acReport, "rpt_Name", True ' True means open from Navigation pane
On Error GoTo ClickPrintCancel
DoCmd.RunCommand acCmdPrint
Exit Sub
ClickPrintCancel:
MsgBox "Print Request Cancelled", vbOKOnly, "Print Cancelled"
End Sub
Hope this helps someone... Eddie
Interesting, never used that. Probably because doesn't allow sending filter criteria to the report.
Glad you found solution and shared it.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.