I have a form to allow users to view or print a report. To view the report, I have the following code that runs on a button click event:
DoCmd.OpenReport "rptTrans", acViewPreview
The PC that runs the report is connected to a label printer. If the default printer is set to the label printer the report is not viewable. I understand that the display is a preview of the printed report as it would look on a label.
Is there a command to view (not print) the report other than acViewPreview?
It's not that big of a deal. The user can always change the default. I would just like to know if there is another way.