Skip to content

TLargeintField

Field class for 64-bit signed integer data.

Declaration

Source position: db.pas line 718

type

  TLargeintField = class(TNumericField)
  public
    constructor Create;
    function CheckRange : Boolean;
    property Value: LargeInt; {rw}
  published
    property MaxValue: LargeInt; {rwd}
    property MinValue: LargeInt; {rwd}
  end;

Description

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

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

Properties

Member Visibility Description
MaxValue published Maximum value for the field.
MinValue published Minimum value for the field.
Value public Field contents as a 64-bit integer value.
See all Properties

Methods

Member Visibility Description
CheckRange public Check whether a values falls within the allowed range.
Create public Create a new instance of the TLargeintField class.
See all Methods

See also

Name Description
TField Provide access to the contents of a single field in a record.
MinValue Minimum value for the field.
MaxValue Maximum value for the field.