Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

DefaultFieldClasses

Default field classes to use when creating a new TField instance.

Declaration

Source position: db.pas line 2441

const DefaultFieldClasses: array [TFieldType] of TFieldClass = (TField, TStringField, TSmallIntField, TLongintField, TWordField, TBooleanField, TFloatField, TCurrencyField, TBCDField, TDateField, TTimeField, TDateTimeField, TBytesField, TVarBytesField, TAutoIncField, TBlobField, TMemoField, TGraphicField, TBlobField, TBlobField, TBlobField, TBlobField, Nil, TStringField, TWideStringField, TLargeIntField, Nil, TArrayField, Nil, Nil, TBlobField, TMemoField, TVariantField, Nil, Nil, TGuidField, Nil, TFMTBCDField, TWideStringField, TWideMemoField, Nil, Nil, TLongWordField, TShortintField, TByteField, TExtendedField, TSingleField);

Description

DefaultFieldClasses contains the TField descendent class to use when a TDataset instance needs to create fields based on the TFieldDefs field definitions when opening the dataset. The entries can be set to create customized TField descendents for certain field datatypes in all datasets.

See also

TFieldType

  

Field data type description.

TField

  

Provide access to the contents of a single field in a record.

TField.DataType

  

The data type of the field.


Documentation generated on: Nov 23 2024