Data.DB.TFields.CheckFieldName

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also