FetchComplete Event (ADO)

The FetchComplete event is called after all the records in a lengthy asynchronous operation have been retrieved into the Recordset.


FetchComplete pError, adStatus, pRecordset  


An Error object. It describes the error that occurred if the value of adStatus is adStatusErrorsOccurred; otherwise it is not set.

An EventStatusEnum status value. When this event is called, this parameter is set to adStatusOK if the operation that caused the event was successfull, or to adStatusErrorsOccurred if the operation failed.

Before this event returns, set this parameter to adStatusUnwantedEvent to prevent subsequent notifications.

A Recordset object. The object for which the records were retrieved.


To use FetchComplete with Microsoft Visual Basic, Visual Basic 6.0 or later is required.

See Also

ADO Events Model Example (VC++)
ADO Event Handler Summary