Tests whether the contents of a field match a given value.

Record.TESTFIELD(Field, [Value])

Parameters

Record

Type: Record

The record that contains the field that you want to test.

Field

Type: Field

The field that you want to test.

Value

Type: Any

The value that you want to compare to Field. The data type of this parameter must match the data type of Field. If you include this optional parameter and the contents of Field do not match, an error message is displayed. If you omit this parameter and the contents of Field is zero or blank (empty string), an error message is displayed.

Expand imageRemarks

Expand imageExample

Expand imageSee Also