Data.DB.TFields.CheckFieldName

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TFields

Delphi

procedure CheckFieldName(const FieldName: string);

C++

void __fastcall CheckFieldName(const System::UnicodeString FieldName);

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.

See Also