RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTable.GetDetailLinkFields Method

Lists the field components that link this dataset as a detail of a master dataset.

Pascal
procedure GetDetailLinkFields(MasterFields: TList; DetailFields: TList); override;
C++
virtual __fastcall GetDetailLinkFields(TList MasterFields, TList DetailFields);

GetDetailLinkFields fills two lists of TFields that define a master-detail relationship between this table and another (master) dataset. The MasterFields list is filled with fields from the master table whose values must equal the values of the fields in the DetailFields list. The DetailFields list is filled with fields from the calling dataset. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!