Skip to content

TMasterDataLink.Create

Create a new instance of TMasterDataLink.

Declaration

Source position: db.pas line 2098

public 
constructor TMasterDataLink.Create(ADataSet: TDataSet);  virtual;

Description

Create initializes a new instance of TMasterDataLink. The ADataset parameter is the detail dataset in the master-detail relation: it is saved in the DetailDataset property. The master dataset must be set through the DataSource property, and is usually set by the application programmer.

See also

Name Description
TDetailDataLink.DetailDataset Detail dataset in Master-detail relation.
TDatalink.Datasource Datasource this datalink is connected to.