Data.DB.TDataSet.DataSourceCount
Delphi
property DataSourceCount: Integer read GetDataSourceCount;
C++
__property int DataSourceCount = {read=GetDataSourceCount, nodefault};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Indicates the number of TDataSource components currently connected to a TDataSet.
Each TDataSource serves as a connection between the dataset and data controls or a detail dataset. If DataSourceCount = 0, the dataset is not currently attached to any UI controls and does not have detail datasets.