AdoConnectionEvents:ExecuteComplete()

<< Click to Display Table of Contents >>

Navigation:  Ado Events > AdoConnectionEvents Class >

AdoConnectionEvents:ExecuteComplete()

Previous pageReturn to chapter overviewNext page

Purpose

The ExecuteComplete event is called after a command has finished executing.

 

Prototype

METHOD ExecuteComplete ( lAffected, oError, lStatus, oCommand, oRecordSet, oConn  )    CLASS AdoConnectionEvents

 

Argument(s)

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

 

 

Description

You can prevent subsequent notifications by setting the lStatus parameter to adStatusUnwantedEvent before the event returns.

 

See Also

AdoConnectionEvents, AdoEventStatusEnum, AdoError