InfoMessage

concerns

The InfoMessage event is triggered if a database connectionis established.

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

 

Syntax

InfoMessage(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

An ADODB Connection object