PreviewMode Property

Specifies how the report opens when you preview it.

Applies To

Reports

Property Value

Value Description
Normal Specifies that the report opens in the default view mode where you can navigate between entries and so on.
PrintLayout Specifies that the report opens in the print layout mode that shows how the report will print on paper.

Remarks

In the Report – Properties window, in the PreviewMode field, specify how the report must open in preview mode. The default mode can be different to how the report prints on paper. If you want to make sure that users see the report as it will look on paper, choose PrintLayout.

Regardless of your choice, users can change the display mode in the Print Preview window. For example, if you choose the default mode, users can choose the Print Layout button. However, if the C/AL code for the report uses the PREVIEW function to disable printing from the preview, then users cannot change the display mode to print layout.

See Also

Report Design Overview
Designing Reports
Printing Reports
PREVIEW Function (Report)