BeginTransComplete

concerns

The BeginTransComplete event is triggered after a BeginTransaction operation.

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

 

Syntax

BeginTransComplete(TransactionLevel, pError, adStatus, pConnection)

Parameter

Name

Type

Passing

Description

TransactionLevel

Long

ByVal

Contains the new transaction level that triggered this event.

pError

ADODB.Error

ByVal

An ADO error object that describes a possibly occurring 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