Skip to content

TShortintField

Field class for 8-bit signed integer data.

Declaration

Source position: db.pas line 640

type

  TShortintField = class(TLongintField)
  public
    constructor Create;
  end;

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.

Methods

Member Visibility Description
Create public Create new instance of TShortintField.
See all Methods

See also

Name Description
MinValue Minimum value for the field.
MaxValue Maximum value for the field.