RequestPage Data Type

Version: Available or changed with runtime version 1.0.

Is a page that is run before the report starts to execute. Request pages enable end-users to specify options and filters for a report.

Instance methods

The following methods are available on instances of the RequestPage data type.

Method name Description
Activate([Boolean]) Activates the current page on the client if possible. The data on the page will not be refreshed.
Caption([Text]) Shows the caption in the title bar. For example, the default value in English (United States) is the same as the name of the page.
Close() Closes the current page.
Editable([Boolean]) Gets or sets the default editability of the page.
LookupMode([Boolean]) Gets or sets the default lookup mode for the page.
ObjectId([Boolean]) Returns a string in the "Page xxx" format, where xxx is the caption or ID of the application object.
SaveRecord() Saves the current record as if performed by the client. If the record does not exist, it is inserted, otherwise it is modified.
SetSelectionFilter(var Record) Notes the records that the user has selected on the request page, marks those records in the table specified, and sets the filter to "marked only".
Update([Boolean]) Saves the current record and then updates the controls on the page. If you set the SaveRecord parameter to false, this method will not save the record before the page is updated.

See Also

Get Started with AL
Developing Extensions