FIRST Function (TestPage)
Microsoft Dynamics NAV 2013
Sets the current row of the test page as the first row in the dataset.
OK := TestPage.FIRST
- The test page variable that you use to refer to the test page.
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);