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

DefaultFieldClasses

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

Declaration

Source position: db.pas line 2135

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, Nil, Nil, Nil, TBlobField, TMemoField, TVariantField, Nil, Nil, TGuidField, Nil, TFMTBCDField, TWideStringField, TWideMemoField);

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: Sep 28 2017