My report is being opened with this
Code:
stDocName = "rptInvoice"
DoCmd.OpenReport stDocName, acViewPreview
The report has a Close button, which closes it without problem.
The users are in the habit of clicking the Close Print Preview button on the ribbon and this always puts the report into Design View.
How do I stop this or change the button's behaviour?