<< Click to Display Table of Contents >> AdoConnectionEvents:ExecuteComplete() |
![]() ![]() ![]() |
The ExecuteComplete event is called after a command has finished executing.
METHOD ExecuteComplete ( lAffected, oError, lStatus, oCommand, oRecordSet, oConn ) CLASS AdoConnectionEvents
lAffected The ExecuteComplete event is called after a command has finished executing.
oError An Error object. It describes the error that occurred if the value of lStatus is adStatusErrorsOccurred; otherwise it is not set
lStatus An AdoEventStatusEnum status value. This parameter is set to adStatusOK if the operation that caused the event was successful, or to adStatusErrorsOccurred if the operation failed
oCommand The Command object, if any, that was executed
oRecordSet A Recordset object that is the result of the executed Command. This Recordset may be empty.
oConn The Connection object for which this event occurred
You can prevent subsequent notifications by setting the lStatus parameter to adStatusUnwantedEvent before the event returns.
AdoConnectionEvents, AdoEventStatusEnum, AdoError