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

# TParam.DataType

Data type of the parameter

## Declaration

Source position: db.pas line 1766

`published property TParam.DataType: TFieldType read FDataType write SetDataType;`

## Description

DataType is the current data type of the parameter value. It is set automatically when one of the various AsXYZ properties is written, or when the value is copied from a field value.

## See also

TParam.IsNull |  | Is the parameter empty
TParam.Value |  | Value as a variant
TParam.AssignField |  | Copy value from field instance

The latest version of this document can be found at lazarus-ccr.sourceforge.net .