Description

This event is fired when a severe framework error occurs. The action to take may be provided as a return argument.

Syntax

Private Sub object_Error(Database, Error, Action)

The Error Event syntax has these parts:

PartDescription
objectA McDBDatabase object.
DatabaseA McDBDatabase object.

The McDBDatabase in which the severe error occurred.

ErrorA Long value.

An internal error number

ActionA Long value.
The subsequent action to take, passed back by clients that receive this event:
0

Continue as if no error occurred

1

Retry the operation that caused the error

2

Fail and abort the operation that caused the error