Sets the current row of the test page as the previous row in the dataset.

OK := TestPage.PREVIOUS

Parameters

TestPage

Type: TestPage

The test page variable that you use to refer to the test page.

Property Value/Return Value

Type: Boolean

true if the current row was set to the previous row in the dataset successfully; otherwise, false.

Remarks

If TestPage is closed or has never been opened, then the function call fails.

Example

This example requires that you create a TestPage variable named CustomerList with a Subtype of Customer List.

 Copy Code
CustomerList.OPENVIEW;
…
IF CustomerList.LAST THEN REPEAT
  MESSAGE(CustomerList.Name);
UNTIL NOT CustomerList.PREVIOUS;