Creates and launches a page object, which you specify.

PAGE.RUN(Number[, Record] [, Field])

Parameters

Number

Type: Integer

The number of the page that you want to run. If you enter zero (0), the system displays the default lookup window for the current page. Click View, click C/AL Symbols Menu to select the page from a list.

If the page you specify does not exist, a run-time error occurs.

Record

Type: Record

The Page.RUN function shows, by default, the record last displayed on the page. For each object, the system stores information about the most recently displayed record and the attached key and filters.

Use this optional parameter to select a specific record to display on the page. The record must be of the same type as the table attached to the window. When the record is displayed, the key and filters attached to the record are used.

Field

Type: Field

Use this optional parameter to select a specific field on which focus will be placed.

Expand imageRemarks

Expand imageExample

Expand imageSee Also