Name
Recordset.RecordChangeComplete Event — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
RecordChangeComplete(ByValadReasonAs ADODB.EventReasonEnum, _ ByValcRecordsAs Long, _ ByValpErrorAs ADODB.Error, _adStatusAs ADODB.EventStatusEnum, _ ByValpRecordsetAs ADODB.Recordset)
The RecordChangeComplete event is called after an operation changes one or more records in the Recordset object.
Arguments
-
adReason(EventReasonEnum) Indicates the reason for this event. Proper values for the
adReasonparameter are:adRsnAddNew,adRsnDelete,adRsnUpdate,adRsnUndoUpdate,adRsnUndoAddNew,adRsnUndoDelete, andadRsnFirstChange.
-
cRecords(Long) Indicates how many records are affected by the operation causing this event.
-
pError(Error) Contains details about an error that occurred if the
adStatusparameter is set toadStatusErrorsOccurred.
-
adStatus(EventStatusEnum) Indicates the status of the current operation. If the
adStatusparameter is set toadStatusOK, the operation was successful. If theadStatusparameter is set toadStatusErrorsOccurred, the operation failed, and thepErrorobject contains the details regarding the error. If theadStatusparameter is set toadStatusCancel, the operation has been canceled before completion by the application. If theadStatusparameter is set toadStatusUnwantedEvent, this event will not be called again.
-
pRecordset Represents the Recordset object that fired this event.
See Also
EventReasonEnum Enumeration, EventStatusEnum Enumeration, Recordset.AddNew Method, Recordset.CancelBatch ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access