Latest web development tutorials
 

ADO FetchComplete Event


< Complete Recordset Object Reference

The FetchComplete event is triggered after all the records in an asynchronous operation have been fetched into the Recordset.

Syntax

FetchComplete objErr,status,objRs

Parameter Description
objErr The name of an Error object that describes the error if status is set to adStatusErrorsOccurred, otherwise it is not set
status An EventStatusEnum value that indicates the status of the execution of the event
objRs The name of the Recordset object that triggered this event

EventStatusEnum Values

Constant Value Description
adStatusOK 1 The operation that caused the event was successful
adStatusErrorsOccurred 2 The operation that caused the event failed
adStatusCantDeny 3 The operation that caused the event cannot be cancelled
adStatusCancel 4 The operation that caused the event is cancelled
adStatusUnwantedEvent 5 Prevents subsequent notifications before the event method has finished executing

< Complete Recordset Object Reference