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


The data type of the field.


Source position: db.pas line 449

public property TField.DataType : TFieldType
  read FDataType;


Datatype indicates the type of data the field has. This property is initialized when the dataset is opened or when persistent fields are created for the dataset. Instead of checking the class type of the field, it is better to check the Datatype, since the actual class of the TField instance may differ depending on the dataset.

See also



The kind of field.

Documentation generated on: Jul 24 2023