Data.SqlExpr.TSQLConnection.DataSets
Delphi
property DataSets[Index: Integer]: TCustomSQLDataSet read GetDataSet;
C++
__property TCustomSQLDataSet* DataSets[int Index] = {read=GetDataSet};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TSQLConnection |
Description
Lists all active datasets for the connection component.
Use DataSets to access active datasets associated with a connection component. An active dataset is one that is currently open.
The Index parameter ranges between 0 and DataSetCount.
The value of DataSets changes as the datasets that use this TSQLConnection component open and close.
Note: If a TSQLClientDataSet uses the connection component to connect to a database server, DataSets lists the internal dataset that the client dataset creates to access data, not the client dataset itself.