Düzenle

Aracılığıyla paylaş


TestPage.Previous() Method

Version: Available or changed with runtime version 1.0.

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

Syntax

[Ok := ]  TestPage.Previous()

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;  
…  
if CustomerList.Last then repeat  
  Message(CustomerList.Name);  
until not CustomerList.Previous;  

TestPage Data Type
Get Started with AL
Developing Extensions