Data.DB.TMasterDataLink.FieldNames

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TMasterDataLink

Delphi

property FieldNames: string read FFieldNames write SetFieldNames;

C++

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

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