ScanAfterSaveDlg(Situation As Long, UserAction As Long) As Long

Description

This event is always fired after the ScanBeforeSaveDlg event. You can see the user action with this event (that is, whether the user clicked Yes (save) or No). See also ScanNotifyUser and ScanUserNotified.

Note: The Job object is available even though this event is fired on Application level in Scan.

Parameters

Parameter

Description

UserAction  

IDYES (6) or IDNO (7).

Situation  

One of these values:

1    Last set is complete according to set rules. Save it?

2    Last set is incomplete. Save it anyway?

3    Last form has too few appendices. Save it?

4    One more form was scanned and identified. If you want to save it with the current batch, click Yes. If you click No, the information for the form is deleted, and you must scan it again.

5    Do you want to save the batch? Click Yes to save the batch. Click No to completely delete the batch.

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 update your endorser string.

Remarks

Only fired in the Scan module.

Events in Scan