BatchValidate() As Long

Description

This event is fired when a batch is about to be validated— that is, when all the forms included in the batch are about to receive Complete status. The event is fired at least once for each batch and can be fired several times if the batch is edited and validated repeatedly.

Note that FORMS itself performs no batch validation. Without customization, the status of a batch is based entirely on the status of the forms it contains.

Parameters

None.

Return values

Return value

Description

EV_OK

Normal return.

EV_OK_ABORT 

No effect— treated the same as EV_OK.

EV_ERROR

Causes an error message and job termination.

Suggested usage

Could be used to implement batch validation routines.

Remarks

Fired in the Interpret and Verify modules.

Field, form, set, and batch validation

Batch-level events