Name
Recordset.MoveComplete Event — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
MoveComplete(ByValadReason
As ADODB.EventReasonEnum, _ ByValpError
As ADODB.Error, _adStatus
As ADODB.EventStatusEnum, _ ByValpRecordset
As ADODB.Recordset)
The MoveComplete event is called after an operation changes the position of the record pointer within the Recordset object.
Arguments
-
adReason
(EventReasonEnum) Indicates the reason for this event. Proper values for the
adReason
parameter are:adRsnMoveFirst
,adRsnMoveLast
,adRsnMoveNext
,adRsnMovePrevious
,adRsnMove
, andadRsnRequery
.
-
pError
(Error) Contains details about an error that occurred if the
adStatus
parameter is set toadStatusErrorsOccurred
.
-
adStatus
(EventStatusEnum) Indicates the status of the current operation. If the
adStatus
parameter is set toadStatusOK
, the operation was successful. If theadStatus
parameter is set toadStatusErrorsOccurred
, the operation failed, and thepError
object contains the details regarding the error. If theadStatus
parameter is set toadStatusCancel
, the operation has been canceled before completion by the application. If theadStatus
parameter 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.AbsolutePage Property, Recordset.AbsolutePosition Property, Recordset.AddNew Method, Recordset.Bookmark Method, Recordset.Filter Property, Recordset.Index Property, ...
Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.