TestPage.First() Method
Version: Available or changed with runtime version 1.0.
Sets the current row of the test page as the first row in the data set.
Syntax
[Ok := ] TestPage.First()
Parameters
TestPage
Type: TestPage
An instance of the TestPage data type.
Return Value
[Optional] Ok
Type: Boolean
true if the current row has changed, otherwise false.
Remarks
If TestPage is closed or has never been opened, then the method call fails.
Example
This example sets the current row to the first customer in the dataset. It requires that you create a TestPage variable named CustomerList with a Subtype of Customer List.
CustomerList.OpenView;
CustomerList.First;
Message(CustomerList.Name.Value);
See Also
TestPage Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor