Redigera

Dela via


FieldRef.TestField(ErrorInfo) Method

Version: Available or changed with runtime version 8.1.

Determines whether the contents of a field matches a given value. If the contents differ from the given value, an error message is displayed.

Syntax

 FieldRef.TestField(ErrorInfo: ErrorInfo)

Parameters

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

ErrorInfo
 Type: ErrorInfo
Additional information to include in the error if the test fails.

FieldRef Data Type Get Started with AL
Developing Extensions