ForceFieldComplete() As Long

Description

This event is fired in Verify when a field has been verified by the user but still contains a validation error, that is, when the user enters data that is incorrect according to the routines or formats defined for the form or field definitions. This event determines whether the usual message, "Validation error. Save as complete?", should appear, or if the field is to be verified again.

Parameters

None.

Return values

Return value

Description

EV_OK

Show the dialog. The user should be able to force fields Complete.

EV_OK_ABORT 

Do not show the dialog. The user cannot force fields Complete.

EV_ERROR

Causes an error message and job termination.

Suggested usage

This event is an easy way to control whether the user should be able to force fields to Complete (by returning EV_OK) or not (by returning EV_OK_ABORT).

Remarks

Only fired in the Verify module.

Note that if the Verify job description does not include fields with Validation error status, this event is not fired.

FieldForced

Field, form, set, and batch validation

Field-level events