Icon FieldByName Method

Db::TField* __fastcall FieldByName(const AnsiString FieldName)

Usage

Call the FieldByName method to access a TField component by its name. If the specified field does not exist, an EDatabaseError exception is triggered.
Image