[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TSmallintField

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Field class for smallint (16-bit signed integer) data

## Declaration

Source position: db.pas line 634

`type TSmallintField = class(TLongintField)`
`public`
`constructor Create(); override;` |  | Create a new instance of the TSmallintField class.
`end;`

## Inheritance

`TSmallintField` |  | Field class for smallint (16-bit signed integer) data
`TLongintField` |  | Field class for 32-bit signed integer data
`TNumericField` |  | Base class for all numerical data field classes
`TField` |  | Provide access to the contents of a single field in a record
`TComponent,IUnknown,IInterfaceComponentReference`
`TPersistent,IFPObserved`
`TObject`

## Description

TSmallIntField is the class created when a dataset must manage 16-bit signed integer data, of datatype ftSmallInt. It exposes no new properties, but simply overrides some methods to manage 16-bit signed integer data.

It should never be necessary to create an instance of TSmallIntField manually, a field of this class will be instantiated automatically for each smallint field when a dataset is opened.

## See also

TField |  | Provide access to the contents of a single field in a record
TNumericField |  | Base class for all numerical data field classes
TLongintField |  | Field class for 32-bit signed integer data
TWordField |  | Field class for word (16-bit unsigned integer) data