AccpacReport.Confirm
Sets up the print settings for the report and loads the saved print settings, if any, for the current report. Optionally, based on the ShowDialog parameter, a print settings/confirmation dialog is displayed. This dialog allows the user to change print settings.
Function Confirm(
ShowDialog As Boolean,
hWnd As Long) As Boolean
Parameters
ShowDialog
[in] whether to show a print setup/confirmation dialog
hWnd
[in] window handle of the caller
Return Value
Returns whether or not the user chose to proceed with printing the report.
Remarks
If the current session is a remote connection to an ACCPAC server, the print destination is always set to PD_PREVIEW and no print settings/confirmation dialog is displayed as the ShowDialog parameter is ignored.