Data.Win.ADODB.TCustomADODataSet.OnRecordsetCreate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnRecordsetCreate: TRecordsetCreate read FOnRecordsetCreate write FOnRecordsetCreate;

C++

__property TRecordsetCreate OnRecordsetCreate = {read=FOnRecordsetCreate, write=FOnRecordsetCreate};

Properties

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

Description

Occurs when the recordset has been initialized and is ready to use.

Write an OnRecordsetCreate event handler to take specific action when the Recordset property is first available for use. When the ADO dataset is first opened, it initializes the Recordset property to the interface that it uses for accessing the data. OnRecordsetCreate occurs when Recordset is fully initialized, and can be used by an application.

DataSet is the ADO dataset component whose Recordset property has just been initialized to the interface for an ADO recordset.

Recordset is the interface to the ADO recordset. It is the value of the Recordset property.

See Also