RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSmallintField Class

TSmallIntField represents a signed 16-bit integer field in a dataset.

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

DB

TSmallIntField encapsulates the fundamental behavior common to small-integer fields. Small-integer fields can hold values in the range -32768 to 32767, and are used to hold values that are signed 16-bit whole numbers. 

If you use the Fields editor at design time to create a persistent field component for the small integer field, you can access it by name at runtime. When using dynamic field components, you can access the TSmallIntField instance using the dataset's Fields property or FieldByName method. 

 

TDataSet 

TDataSet 

TDataSet 

TField 

TIntegerField 

TWordField 

Defining a Data Field 

Using Default Formatting for Numeric

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