Data.SqlExpr.TCustomSQLDataSet.GetDetailLinkFields
Delphi
procedure GetDetailLinkFields(MasterFields, DetailFields: TList<TField>); overload; override;
procedure GetDetailLinkFields(MasterFields, DetailFields: TList); overload; override; deprecated 'Use overloaded method instead';
C++
virtual void __fastcall GetDetailLinkFields(System::Generics::Collections::TList__1<Data::Db::TField*>* MasterFields, System::Generics::Collections::TList__1<Data::Db::TField*>* DetailFields)/* overload */;
virtual void __fastcall GetDetailLinkFields _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::Classes::TList* MasterFields, System::Classes::TList* DetailFields)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TCustomSQLDataSet |
Description
Lists the field components that link this dataset as a detail of a master dataset.
GetDetailLInkFIelds fills the two lists with field components that define a master-detail relationship between this dataset 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 this dataset.
Applications seldom call GetDetailLinkFields. It is used internally by the Field Link designer when setting up master/detail relationships.