Data.DB.TField.FieldName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property FieldName: string read FFieldName write SetFieldName;

C++

__property System::UnicodeString FieldName = {read=FFieldName, write=SetFieldName};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Indicates the name of the physical column in the underlying table or query result to which a field component is bound.

When creating a field component, the TFieldDef object uses FieldName to specify which field in the underlying dataset the field component represents. FieldName is used when displaying references to the field to users, unless a DisplayLabel has been set. For calculated fields, supply a FieldName when defining the field. For non-calculated fields, an EDatabaseError exception is raised if FieldName is not a column name in the underlying table.

See Also


Code Examples