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

# TFields.CheckFieldName

Check field name for duplicate entries

## Declaration

Source position: db.pas line 1149

`public procedure TFields.CheckFieldName(`
`const Value: string`
`);`

## Arguments

`Value` |  | Field name to check

## Description

CheckFieldName checks whether a field with name equal to Value (case insensitive) already appears in the list of fields (using TFields.Find). If it does, then an EDatabaseError exception is raised.

## See also

TField.FieldName |  | Name of the field
TFields.Find

Documentation generated on: May 14 2021