Icon GetDetailLinkFields Method

virtual void __fastcall
      GetDetailLinkFields(System::Classes::TList* MasterFields,
      System::Classes::TList* DetailFields)

Call the GetDetailLinkFields method to fill two lists of TField objects that define a master-detail relationship between the query result set and another master datasource. The MasterFields parameter is filled with fields from the master data source whose values must equal the values of the fields in the DetailFields parameter. The DetailFields parameter is filled with fields from the query result set.
Image