Name
Recordset.EndOfRecordset Event — (Versions 2.0, 2.1, 2.5, 2.6)
Synopsis
EndOfRecordset(fMoreDataAs Boolean, _adStatusAs ADODB.EventStatusEnum, _ ByValpRecordsetAs ADODB.Recordset)
The EndOfRecordset event is called when an attempt to move the record pointer past the end of the recordset has occurred.
Arguments
-
fMoreData A VARIANT_BOOL value that can be set to
Trueif more data was added by the application to invalidate the current event. In other words, when this event is fired, it is an indication that the record pointer has gone outside the recordset. At this time, you can append more records to the recordset and set thisfMoreDataparameter toTrue, so that the operation can be attempted again.
-
adStatus An EventStatusEnum value indicating the status of the current operation. The
adStatusparameter is set toadStatusOKif the operation causing this event was successful. If theadStatusparameter is set toadStatusCantDeny, the event cannot request that the operation be canceled. If theadStatusparameter is set toadStatusUnwantedEvent, this event will not be called again.
-
pRecordset The Recordset object that fired this event.
See Also
EventStatusEnum Enumeration, Recordset.MoveNext Method
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