M
Meaty
Hi, I am using the following code to print a report.
Please suggest code to show the Print Dialog Box before the report prints so
I can change the printer.
Also would like another button to produce a PDF using "PDFCreator" which is
one of the printers in the dialog box.
Private Sub PQ_Click()
On Error GoTo Err_PQ_Click
Dim stDocName As String
stDocName = "Quote"
DoCmd.OpenReport stDocName, acNormal, "Quote Filter"
Exit_PQ_Click:
Exit Sub
Err_PQ_Click:
MsgBox Err.Description
Resume Exit_PQ_Click
End Sub
Please suggest code to show the Print Dialog Box before the report prints so
I can change the printer.
Also would like another button to produce a PDF using "PDFCreator" which is
one of the printers in the dialog box.
Private Sub PQ_Click()
On Error GoTo Err_PQ_Click
Dim stDocName As String
stDocName = "Quote"
DoCmd.OpenReport stDocName, acNormal, "Quote Filter"
Exit_PQ_Click:
Exit Sub
Err_PQ_Click:
MsgBox Err.Description
Resume Exit_PQ_Click
End Sub