RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWordField Class

TWordField represents an unsigned 16-bit integer field in a dataset.

Pascal
TWordField = class(TIntegerField);
C++
class TWordField : public TIntegerField;

DB

TWordField encapsulates the fundamental behavior common to fields that contain unsigned integer data. Word fields can hold values in the range 0 to 65535, and are used to hold values that are unsigned 16-bit whole 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 runtime. When using dynamic field components, you can access the TWordField instance using the dataset's Fields property or FieldByName method. 

 

TDataSet 

TDataSet 

TDataSet 

TField 

TAutoIncField 

TSmallintField 

TIntegerField 

Using Default Formatting for Numeric

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!