FireDAC.Comp.DataSet.TFDDataSet.DetailFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DetailFields: String read FDetailFields write FDetailFields;

C++

__property System::UnicodeString DetailFields = {read=FDetailFields, write=FDetailFields};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

Gets or sets the fields in the detail dataset that are used to establish a master-detail relationship with this dataset.

Use the DetailFields property value to specify a semicolon-separated list of the detail dataset field names used to establish a master-detail relationship with this dataset. 

The DetailFields property is useful only for parameter-based master-detail setup. For range-based setup, the indexed fields are used as the detail field list. When DetailFields is not specified explicitly, the field names matching a query in the parameter names will be used as DetailFields value. 

DetailFields are used only to assign specified field values when a new record is inserted into a detail dataset. The mechanism used to filter the detail dataset records does not use DetailFields.

See Also