Chỉnh sửa

Report.RunModal(Integer [, Boolean] [, Boolean] [, var Record]) Method

Version: Available or changed with runtime version 1.0.

Loads and executes the report that you specify.

Syntax

 Report.RunModal(Number: Integer [, RequestWindow: Boolean] [, SystemPrinter: Boolean] [, var Record: Record])

Parameters

Number
 Type: Integer
The ID of the report that you want to run.

[Optional] RequestWindow
 Type: Boolean
Specifies whether the request window for the report will be displayed. The request window is part of the report object.

[Optional] SystemPrinter
 Type: Boolean
Specifies whether to use the default Windows printer or use table 78, Printer Selection, to find the correct printer for this report.

[Optional] Record
 Type: Record
Specifies which record to use in the report. Any filters that are attached to the record that you specify are used.

See Also

Report data type
Getting started with AL
Developing extensions