Data.Win.ADODB.TCustomADODataSet.OnFetchComplete

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnFetchComplete: TRecordsetEvent read FOnFetchComplete write FOnFetchComplete;

C++

__property TRecordsetEvent OnFetchComplete = {read=FOnFetchComplete, write=FOnFetchComplete};

Properties

Type Visibility Source Unit Parent
event published
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TCustomADODataSet

Description

Occurs after records have been retrieved into the recordset.

Write an OnFetchComplete event handler to take specific action after all of the rows from an asynchronous data retrieval operation have been returned to the recordset. Calling the dataset component's Open method or setting its Active property to true will lead to this event occurring.

DataSet is the ADO dataset component that triggered the OnFetchComplete event. This dataset component also contains the recordset in question.

Error is an ADO Error object. See the Microsoft Data Access SDK for more information on using ADO Error objects. The Error parameter is only set if an error occurred during execution of the operation that triggered the event. In this case, the EventStatus parameter will contain the value esErrorsOccured.

The EventStatus value (ADO EventStatusEnum) indicates the success or failure of the execution of the operation that triggered the event.

See Also