Share via


DEFAULTLAYOUT Function

Gets the default built-in layout type that is used on a specified report.

Syntax

DefaultLayout := REPORT.DEFAULTLAYOUT(Number)  

Parameters

Number
Type: Integer

The ID of the report that you want to save. To specify the report from a list, on the View menu, choose Symbols.

If the report that you specify does not exist, then a run-time error occurs.

Property Value/Return Value

Type: Option

The default layout type. The value can be either None, RDLC, or Word.

Remarks

The default layout for a report is specified by the report's DefaultLayout Property.

See Also

Reports
How to. Specify the Default Built-in Report Layout
Designing Report Layouts from the Microsoft Dynamics NAV Development Environment