ConnectComplete

concerns

The ConnectComplete event is triggered after connecting to a data source.

The event can be used if Microsoft Data Objects is available as a type library.

 

Syntax

ConnectComplete(pError, adStatus, pConnection)

Parameter

Name

Type

Passing

Description

pError

ADODB.Error

ByVal

An ADO error object that describes a possibly occuring error

adStatus

EventStatusEnum

ByRef

An EventStatusEnum Enumeration

Contains adStatusOK if the command execution for this event was successful. If an error occurs, the variable contains adStatusErrorOccurred. To avoid further events for this command, the value can be set to adStatusUnwantedEvent.

pConnection

ADODB.Connection

ByVal

The ADODB Connection object that triggered the error