RAD Studio VCL Reference
TDataSet.GetDetailDataSets Method

Fills a list with a dataset for every detail dataset that is not the value of a nested dataset field.

procedure GetDetailDataSets(List: TList); virtual;
virtual __fastcall GetDetailDataSets(TList List);

Datasets can represent master/detail relationships in two ways: as linked cursors or as nested dataset fields. GetDetailDataSets lists all detail datasets of the active record into List if they are not the value of a nested dataset field. To obtain a list of the detail datasets that are the values of nested dataset fields, use the NestedDataSets property instead. 


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