API:Data.Bind.DBScope.TSubDataSource

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TDataSourceSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTSubDataSource
[–] Properties
Type: class
Visibility: public
Source:
Data.Bind.DBScope.pas
Data.Bind.DBScope.hpp
Unit: Data.Bind.DBScope
Parent: Data.Bind.DBScope

Delphi

TSubDataSource = class(TDataSource)

C++

class PASCALIMPLEMENTATION TSubDataSource : public Data::Db::TDataSource

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.

See Also

Code Examples