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

# TAutoIncField

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

Field for auto-incremental, 32-bit signed integer data

## Declaration

Source position: db.pas line 617

`type TAutoIncField = class(TLongintField)`
`public`
`constructor Create(); override;` |  | Create a new instance of the TAutoIncField class.
`end;`

## Inheritance

`TAutoIncField` |  | Field for auto-incremental, 32-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,IFPObserved`
`TObject`

## Description

TAutoIncField is the class created when a dataset must manage 32-bit signed integer data, of datatype ftAutoInc: This field gets it's data automatically by the database engine. It exposes no new properties, but simply overrides some methods to manage 32-bit signed integer data.

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

## See also

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

Documentation generated on: Feb 26 2014