Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TMasterDataLink.Create

Create a new instance of TMasterDataLink.

Declaration

Source position: db.pas line 2094

public constructor TMasterDataLink.Create(

  ADataSet: TDataSet

); virtual;

Arguments

ADataSet

  

Detail dataset of the master-detail relation.

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

TDetailDataLink.DetailDataset

  

Detail dataset in Master-detail relation.

TDatalink.Datasource

  

Datasource this datalink is connected to.


Documentation generated on: Oct 27 2024