AdoRecordSetEvents:RecordSetChangeComplete()

<< Click to Display Table of Contents >>

Navigation:  Ado Events > AdoRecordSetEvents Class >

AdoRecordSetEvents:RecordSetChangeComplete()

Previous pageReturn to chapter overviewNext page

Purpose

The RecordsetChangeComplete event is called after the Recordset has changed

 

Prototype

METHOD RecordSetChangeComplete ( lReason, oError, lStatus, oRecordSet )  CLASS AdoRecordSetEvents

 

Argument(s)

lReason        An EventReasonEnum value that specifies the reason for this event

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

oRecordSet        A Recordset object. The Recordset for which this event occurred

 

 

Description

When RecordsetChangeComplete is called, the lStatus parameter is set to adStatusOK if the operation that caused the event was successful, adStatusErrorsOccurred if the operation failed, or adStatusCancel if the operation associated with the previously accepted WillChangeRecordset event has been canceled

 

See Also

AdoRecordSetEvents, AdoEventReasonEnum, AdoEventStatusEnum, AdoError