Data.SqlExpr.TSQLConnection.DataSets
[–] Properties | |
---|---|
Type: property | |
Visibility: public | |
Source: Data.SqlExpr.pas Data.SqlExpr.hpp
| |
Unit: Data.SqlExpr | |
Parent: TSQLConnection |
Delphi
property DataSets[Index: Integer]: TCustomSQLDataSet read GetDataSet;
C++
__property TCustomSQLDataSet* DataSets[int Index] = {read=GetDataSet};
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.