Editar

RecordRef.FieldExist(Text) Method

Version: Available or changed with runtime version 16.0.

Determines if the field that has the name FieldName exists in the table that is referred to by the RecordRef. Returns an error if no table is currently selected.

Syntax

Exist :=   RecordRef.FieldExist(FieldName: Text)

Parameters

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

FieldName
 Type: Text
The FieldName that you want to know whether it exists in the table.

Return Value

Exist
 Type: Boolean
true if the field exists; otherwise false.

See Also

RecordRef data type
Getting started with AL
Developing extensions