Skip to main content

ftInteger

ftInteger = 3

Example

function IsSignedInt32(Field: TField): Boolean;
begin
Result := Field.DataType = ftInteger;
end;

Usage

ftInteger identifies a signed 32-bit integer field with range -2,147,483,648 through 2,147,483,647.

Additional Technical Info

ftInteger is declaration ordinal 3 of TFieldType. It identifies a signed 32-bit field with range -2,147,483,648..2,147,483,647.

The member does not define database nullability, identity behavior, validation or display formatting. Check range before narrowing from Int64/unsigned/text/decimal inputs; never rely on overflow wrapping. For generated identities use ftAutoInc metadata instead.

The example only inspects metadata and was source-reviewed; no conversion/dataset/database/runtime/image test ran.

Created 2026-07-15