Share via


FormRun.printPreview Method

Is called when a user clicks Print Preview on the File menu to view the automatic report for an active form.

Syntax

public void printPreview()

Run On

Client

Remarks

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.

See Also

FormRun Class

Implementing Automatic Reports for Forms