[Overview][Constants][Types][Classes][Procedures and functions][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 588

type TSmallintField = class(TLongintField)

protected

  function GetDataSize; override;

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 classe

|

TField

  

Provide access to the contents of a single field in a record

|

TComponent,IUnknown,IInterfaceComponentReference

|

TPersistent

|

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 classe

TLongintField

  

Field class for 32-bit signed integer data

TWordField

  

Field class for word (16-bit unsigned integer) data

The latest version of this document can be found at lazarus-ccr.sourceforge.net.