FetchComplete Event (ADO)
The FetchComplete event is called after all the records in a lengthy asynchronous operation have been retrieved into the Recordset.
Syntax
FetchComplete pError, adStatus, pRecordset
Parameters
pError
An Error object. It describes the error that occurred if the value of adStatus is adStatusErrorsOccurred; otherwise it is not set.
adStatus
An EventStatusEnum status value. When this event is called, this parameter is set to adStatusOK if the operation that caused the event was successful, or to adStatusErrorsOccurred if the operation failed.
Before this event returns, set this parameter to adStatusUnwantedEvent to prevent subsequent notifications.
pRecordset
A Recordset object. The object for which the records were retrieved.
Remarks
To use FetchComplete with Microsoft Visual Basic, Visual Basic 6.0 or later is required.