API:Data.Bind.DBScope.TSubDataSource
Delphi
TSubDataSource = class(TDataSource)
C++
class PASCALIMPLEMENTATION TSubDataSource : public Data::Db::TDataSource
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | Data.Bind.DBScope.pas Data.Bind.DBScope.hpp |
Data.Bind.DBScope | Data.Bind.DBScope |
Description
TDataSource provides an interface between a dataset component and data-aware controls on a form.
Data.Bind.DBScope.TSubDataSource inherits from Data.DB.TDataSource. All content below this line refers to Data.DB.TDataSource.
TDataSource provides an interface between a dataset component and data-aware controls on a form.
Use TDataSource to:
- Provide a conduit between a dataset and data-aware controls on a form that enable display, navigation, and editing of the data underlying the dataset.
- Link two datasets in a master/detail relationship. All datasets must be associated with a data source component if their data is to be displayed and manipulated in data-aware controls. Similarly, each data-aware control needs to be associated with a data source component in order for the control to receive and manipulate data. Data source components also link datasets in master-detail relationships.