Sign in Join
FPDoc Onlineexperiment

TFieldType enumeration

In unit DB

Field data type description.

Declaration

pascal
TFieldType = (ftUnknown,ftString,ftSmallint,ftInteger,ftWord,ftBoolean,
 ftFloat,ftCurrency,ftBCD,ftDate,ftTime,ftDateTime,ftBytes,
 ftVarBytes,ftAutoInc,ftBlob,ftMemo,ftGraphic,ftFmtMemo,
 ftParadoxOle,ftDBaseOle,ftTypedBinary,ftCursor,
 ftFixedChar,ftWideString,ftLargeint,ftADT,ftArray,
 ftReference,ftDataSet,ftOraBlob,ftOraClob,ftVariant,
 ftInterface,ftIDispatch,ftGuid,ftTimeStamp,ftFMTBcd,
 ftFixedWideChar,ftWideMemo,ftOraTimeStamp,ftOraInterval,
 ftLongWord,ftShortint,ftByte,ftExtended,ftSingle)

Description

TFieldType indicates the type of a TField underlying data, in the DataType property.

Values

ftUnknownUnknown data type.
ftStringString data value (ansistring).
ftSmallintSmall integer value(1 byte, signed).
ftIntegerRegular integer value (4 bytes, signed).
ftWordWord-sized value(2 bytes, unsigned).
ftBooleanBoolean value.
ftFloatFloating point value (double).
ftCurrencyCurrency value (4 decimal points).
ftBCDBinary Coded Decimal value (DECIMAL and NUMERIC SQL types).
ftDateDate value.
ftTimeTime value.
ftDateTimeDate/Time (timestamp) value.
ftBytesArray of bytes value, fixed size (unytped).
ftVarBytesArray of bytes value, variable size (untyped).
ftAutoIncAuto-increment integer value (4 bytes).
ftBlobBinary data value (no type, no size).
ftMemoBinary text data (no size).
ftGraphicGraphical data value (no size).
ftFmtMemoFormatted memo data value (no size).
ftParadoxOleParadox OLE field data (no size).
ftDBaseOleParadox OLE field data.
ftTypedBinaryBinary typed data (no size).
ftCursorCursor data value (no size).
ftFixedCharFixed character array (string).
ftWideStringWidestring (2 bytes per character).
ftLargeintLarge integer value (8-byte).
ftADTADT value.
ftArrayArray data.
ftReferenceReference data.
ftDataSetDataset data (blob).
ftOraBlobOracle BLOB data.
ftOraClobOracle CLOB data.
ftVariantVariant data value.
ftInterfaceinterface data value.
ftIDispatchDispatch data value.
ftGuidGUID data value.
ftTimeStampTimestamp data value.
ftFMTBcdFormatted BCD (Binary Coded Decimal) value.
ftFixedWideCharFixed wide character date (2 bytes per character).
ftWideMemoWidestring memo data.
ftOraTimeStampOracle time stamp field type.
ftOraIntervalOracle interval field type.
ftLongWordLongword (cardinal) field type.
ftShortintShortint field type.
ftByteByte field type.
ftExtendedExtended field type.
ftSingle

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.