ExistFieldDefByNo method

Applies to  

Description

Returns TRUE if the field definition exists on the form, and in that case the FieldDefObject contains the field definition. Otherwise, the method returns FALSE and FieldDefObject is NULL.

Syntax

[ReturnValue =] Object.ExistFieldDefByNo (FieldNo,FieldDefObject)

Part

Data type

Description

Object

Object

An object expression that evaluates to an object in the Applies To list.

FieldNo

Integer

The number (>= 1) of the field definition you are looking for.

FieldDefObject

FieldDef (Object)

The found Field definition or NULL if not found.

Settings

Return value

Data type: Boolean – TRUE if the field definition is found, otherwise FALSE.

Classic method

FieldDefExists