TestPage.GoToRecord(Record) Method
Version: Available or changed with runtime version 1.0.
Finds the specified record in a data set on a test page.
Syntax
[Ok := ] TestPage.GoToRecord(Rec: Record)
Parameters
TestPage
Type: TestPage
An instance of the TestPage data type.
Rec
Type: Record
The record to find.
Return Value
[Optional] Ok
Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.
Remarks
The GoToRecord method loops over all records until it finds the identifies record. For each record, the OnAfterGetCurrRecord Trigger is executed.
Related information
TestPage Data Type
Get Started with AL
Developing Extensions