Bewerken

Share via


TestPage.Next() Method

Version: Available or changed with runtime version 1.0.

Sets the current row of the test page as the next row in the data set.

Syntax

[Ok := ]  TestPage.Next()

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 requires that you create a TestPage variable named CustomerList with a Subtype of Customer List.

CustomerList.OpenView();  
// Loops through all customers and displays the customer name.  
if CustomerList.First() then  
  repeat  
    Message('%1';CustomerList.Name);  
until not CustomerList.Next();  
  

TestPage Data Type
Get Started with AL
Developing Extensions