[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)

TDataLink.DataSource

Datasource this datalink is connected to

Declaration

Source position: db.pas line 1831

public property TDataLink.DataSource : TDataSource
  read FDataSource
  write SetDataSource;

Description

Datasource should be set to a TDatasource instance to get access to the dataset it is connected to. A datalink never points directly to a TDataset instance, always to a datasource. When the datasource is enabled or disabled, all TDatalink instances connected to it are enabled or disabled at once.

See also

TDataset

  

Base class for records-based data-access

TDatasource

  

Component representing the link between a local (GUI) component and a dataset


Documentation generated on: Jun 22 2020