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

# TLargeintField

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

Field class for 64-bit signed integer data

## Declaration

Source position: db.pas line 601

`type TLargeintField = class(TNumericField)`
`public`
`constructor Create(); override;` |  | Create a new instance of the TLargeintField class
`function CheckRange();` |  | Check whether a values falls within the allowed range
`property Value: LargeInt; [rw]` |  | Field contents as a 64-bit integer value
`published`
`property MaxValue: LargeInt; [rw]` |  | Maximum value for the field
`property MinValue: LargeInt; [rw]` |  | Minimum value for the field
`end;`

## Inheritance

`TLargeintField` |  | Field class for 64-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

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.

## See also

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