BatchConfirm() As Long

Description

This event is fired right before the usual Confirm dialog is displayed when a batch is Complete. It is only fired in Verify, during verification in normal (full screen) mode. Note that Batch finished must be selected in the Confirmations dialog (FORMS Help topic) in the Verify job description in order for this event to occur.

To skip the usual Confirm dialog, return EV_OK_ABORT and use SetReturnValue(0, "N") to pause Verify. Otherwise, use SetReturnValue (0, "Y") to continue to the next batch. If you forget to use SetReturnValue, FORMS continues to the next batch.

Note that the batch status is not recalculated after this event.

Parameters

None.

Return values

Return value

Description

EV_OK

Normal return.

EV_OK_ABORT 

Skips the normal dialog.

EV_ERROR

Causes an error message and job termination.

Suggested usage

Could be used to display your own confirmation dialog instead of FORMS’ usual one. This is the very last event on a batch before Verify displays the next batch.

Remarks

Only fired in the Verify module, and only if Batch finished is selected in the Confirmations dialog in the Verify job description.

Batch-level events