FieldValidateExisting() As Long

Description

This event is fired when a filled-in field is about to be validated. (If the field is empty, FieldValidateNonExisting is fired instead.) It is fired at least once for all filled-in fields and can be fired several times if the field value is edited and validated repeatedly.

Parameters

None.

Return values

Return value

Description

EV_OK

Normal return.

EV_OK_ABORT 

Causes FORMS internal field validation to be skipped.

EV_ERROR

Causes an error message and job termination.

Suggested usage

Could be used to implement specific field validations that cannot be performed by FORMS.

Remarks

Fired in the Interpret and Verify modules.

A note regarding use in the Interpret module

This event is not fired if the field value contains an asterisk (*), which in FORMS represents an uninterpreted character. In other words, you cannot be sure this event is fired for all filled-in fields in Interpret, since some fields might contain uninterpreted characters. If you use VBA to set the field value in the FieldInterpret or FieldInterpreted events and still want FORMS to validate the value, make sure that the field value does not contain any asterisks.

Field, form, set, and batch validation

Field-level events