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

# TDataSet.DataSource

Datasource this dataset is connected to.

## Declaration

Source position: db.pas line 1602

`public property TDataSet.DataSource: TDatasource read GetDataSource;`

## Description

Datasource is the datasource this dataset is connected to, and from which it can get values for parameters. In TDataset, the Datasource property is not used, and is always Nil. It is up to descendent classes that actually support a datasource to implement getter and setter routines for the Datasource property.

## See also

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.