G
Guest
I want to use the built in menu functions to print a report out. I want it to
ask if they want to print the report out or not when they click it to close.
I want this option so I can pick the printer I want use. since this will be
used by several different plants. I have this coded in, but it will not let
me finish the print cycle.
Dim strResponse As String
strResponse = MsgBox("Do you wish to print this report?", vbYesNo, "Print
Report")
If strResponse = vbYes Then
DoCmd.RunCommand acCmdPrint
End If
It will give me a message "This actiuon can't be carried out while
processing a form or report event."
THank you for any help in this matter, and any sugestions you may have to
make this work.
Pixie
ask if they want to print the report out or not when they click it to close.
I want this option so I can pick the printer I want use. since this will be
used by several different plants. I have this coded in, but it will not let
me finish the print cycle.
Dim strResponse As String
strResponse = MsgBox("Do you wish to print this report?", vbYesNo, "Print
Report")
If strResponse = vbYes Then
DoCmd.RunCommand acCmdPrint
End If
It will give me a message "This actiuon can't be carried out while
processing a form or report event."
THank you for any help in this matter, and any sugestions you may have to
make this work.
Pixie