From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property FieldName: string read FFieldName write SetFieldName;


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


Type Visibility Source Unit Parent
property published
Data.DB TField


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