Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TShortintField

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

Field class for 8-bit signed integer data.

Declaration

Source position: db.pas line 637

type TShortintField = class(TLongintField)

public

  constructor Create(); override;

  

Create new instance of TShortintField.

end;

Inheritance

TShortintField

  

Field class for 8-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

|

TPersistent,IInterfaceComponentReference

|

TObject,IFPObserved

Description

TShortIntField is instantiated when a dataset must manage a field with 8-bit signed data: the data type ftShortInt. It overrides some methods of TField to handle ShortInt data, and sets some of the properties to values for ShortInt data. It also introduces some methods and properties specific to integer data such as MinValue and MaxValue.

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

See also

MinValue

  

Minimum value for the field.

MaxValue

  

Maximum value for the field.


Documentation generated on: Dec 22 2024