RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSQLDataSet.DataLink Property

Identifies the datalink that manages communication between the SQL dataset and another, master dataset.

Pascal
property DataLink: TDataLink;
C++
__property TDataLink DataLink;

The protected DataLink property is used internally when the SQL dataset acts as the detail dataset in a master/detail relationship that is not based on nested datasets. The datalink object manages communication between another (master) dataset and this SQL dataset. For example, it is the datalink that tells this SQL dataset to refresh its data when the active record of the master dataset changes. 

Do not use DataLink to establish the relationship between an SQL dataset and another (master) dataset from which it obtains parameter values. Instead, use the DataSource property, or, if the dataset is TSQLTable, the MasterSource property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!