Detecting Whether Report Printed to Printer

TECH TIP: Detecting Whether Report Was Printed to the Printer

The Report.AfterPrint event can be used to determine whether the report was printed to the printer (rather than preview, …).

Example:

Note: If the user cancels the report while it is running, then the Report.OnCancel event will fire, followed by the Report.AfterPrint event.

Example: