ExistFieldByNo method

Applies to  

Description

Returns TRUE if the field named exists on the form, and in that case the FieldObject contains the field. Otherwise, the method returns false and FieldObject is NULL.

Syntax

[ReturnValue =] Object.ExistFieldByNo ( FieldNo, FieldObject )

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 you are looking for.

FieldObject

Field (Object)

The found Field or NULL if not found.

Settings

Return value

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

Remarks

Only fields filled in on the current form are returned. No fields are created.

Classic method

FormFieldExist