Data.DB.TFieldAttribute

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFieldAttribute = (faHiddenCol, faReadonly, faRequired, faLink, faUnNamed, faFixed);

C++

enum DECLSPEC_DENUM TFieldAttribute : unsigned char { faHiddenCol, faReadonly, faRequired, faLink, faUnNamed, faFixed };

Properties

Type Visibility Source Unit Parent
enum public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TFieldAttribute and TFieldAttributes indicate various attributes of a field.

TFieldAttributes is a set that describes the attributes of a physical field in an underlying database table. It can contain zero or more of the following TFieldAttribute values:



Value Meaning

faHiddenCol

Internal flag for hidden columns

faReadonly

Indicates whether the physical field in the underlying table is read-only.

faRequired

Indicates whether a value for the physical field in the underlying table is required.

faLink

Internal flag for nested datasets.

faUnNamed

Internal use only. Indicates a TObjectField in a nested table that has no name associated with it.

faFixed

Indicates that the field has a fixed size.