FireDAC.Comp.Client.TFDQuery.DetailFields

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DetailFields;

C++

__property DetailFields = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDQuery

Description

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

FireDAC.Comp.Client.TFDQuery.DetailFields inherits from FireDAC.Comp.DataSet.TFDDataSet.DetailFields. All content below this line refers to FireDAC.Comp.DataSet.TFDDataSet.DetailFields.

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