FormRun.printPreview Method [AX 2012]
Is called when a user clicks Print Preview on the File menu to view the automatic report for an active form.
You can also call the printPreview method to initiate the view of the automatic report.
To override this method on a form, right-click the Methods node below the form, click Override Method, and then click printPreview.
For information about best practices for forms and code, see No Code in Forms.
Community Additions
ADD
Show: