R
Rafael Bélanger via AccessMonster.com
I have a problem with printing a report, when the print dialog pops up and
you decide to print theres no problem but when i cancel, it generates a error
message because the runcommand was stopped. Am i forced to print or is there
a way to cancel?
the lines are
DoCmd.OpenReport stDocName, acViewPreview, , stLinkCriteria
DoCmd.RunCommand acCmdPrint
Also, im wondering if there is a way to make the dialog appear without having
to open the report so i can just print right away, i dont need to see it.
you decide to print theres no problem but when i cancel, it generates a error
message because the runcommand was stopped. Am i forced to print or is there
a way to cancel?
the lines are
DoCmd.OpenReport stDocName, acViewPreview, , stLinkCriteria
DoCmd.RunCommand acCmdPrint
Also, im wondering if there is a way to make the dialog appear without having
to open the report so i can just print right away, i dont need to see it.