Data.DB.TFields.CheckFieldName
Delphi
procedure CheckFieldName(const FieldName: string);
C++
void __fastcall CheckFieldName(const System::UnicodeString FieldName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Data.DB.pas Data.DB.hpp |
Data.DB | TFields |
Description
Checks if a field name already exists in the TFields object.
CheckFieldName checks for the field specified by FieldName in the Fields property array. If the field with the specified name is already listed, CheckFieldName raises an EDatabaseError exception with a duplicate field name error message.