|
AnyDAC
|
Gets / sets fields in master dataset, used to establish a master-detail relationship with this dataset.
Use MasterFields property value to specify semicolon separated list of the master dataset field names, used to establish a master-detail relationship with this dataset.
Specify MasterFields property value after assigning MasterSource property value. The mechanism used to filter this detail dataset records depends on the dataset class:
property MasterFields: String;
ADMemTable1.IndexFieldNames := 'CustomerID'; ADMemTable1.MasterSource := CustomersDS; ADMemTable1.MasterFields := 'ID';
|
What do you think about this topic? Send feedback!
|