API:FireDAC.Comp.Client.TFDQuery.DetailFields

From RAD Studio API Documentation

Delphi

property DetailFields: string read FDetailFields write FDetailFields default 0;

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. {{#multireplace:FireDAC.Comp.Client.TFDQuery.DetailFields|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FireDAC.Comp.DataSet.TFDDataSet.DetailFields|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FireDAC.Comp.DataSet.TFDDataSet.DetailFields|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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