TestField.GetValidationError([Integer]) Method

Version: Available or changed with runtime version 1.0.

Gets the validation error that occurred on a test page.

Syntax

Result :=   TestField.GetValidationError([Index: Integer])

Parameters

TestField
 Type: TestField
An instance of the TestField data type.

[Optional] Index
 Type: Integer
The index of the validation error that occurred on the test page.

Return Value

Result
 Type: Text
The validation error that occurred on a test page.

See Also

TestField Data Type
Get Started with AL
Developing Extensions