Data.DB.TMasterDataLink.FieldNames

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FieldNames: string read FFieldNames write SetFieldNames;

C++

__property System::UnicodeString FieldNames = {read=FFieldNames, write=SetFieldNames};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TMasterDataLink

Description

Names the fields from the master dataset that are used to define the link to the detail dataset.

Set FieldNames to the fields in the master dataset that supply values that must be matched by fields in the detail dataset. Each field name in the string must be separated from other field names with a semicolon.

Setting FieldNames causes TMasterDataLink to regenerate the Fields property from the field components of the master dataset. Once the Fields property has been regenerated, TMasterDataLink triggers an OnMasterChange event.

See Also