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

# TField.SetFieldType

Set the field data type

## Declaration

Source position: db.pas line 401

`public procedure TField.SetFieldType(`
`AValue: TFieldType`
`); virtual;`

## Arguments

`AValue` |  | DataType for the field

## Description

SetFieldType does nothing, but it can be overridden by descendent classes to provide special handling when the field type is set.

## See also

TField.DataType |  | The data type of the field.