Data.DB.TWordField
Delphi
TWordField = class(TIntegerField)
C++
class PASCALIMPLEMENTATION TWordField : public TIntegerField
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Data.DB.pas Data.DB.hpp |
Data.DB | Data.DB |
Description
Represents an unsigned 16-bit integer field in a dataset.
TWordField encapsulates the fundamental behavior common to fields that contain unsigned integer data. Word fields can hold values in the range from 0 through 65535, and are used to hold values that are unsigned 16-bit integer numbers.
If you use the Fields editor at design time to create a persistent field component for the word field, you can access it by name at run time. When using dynamic field components, you can access the TWordField instance using the dataset's Fields property or FieldByName method.