Icon FindField Method

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

Usage

Call the FindField method to determine if a specified TField component exists in the current record. If the FindField method finds a field with a matching name, it returns the TField component for the specified field. Otherwise it returns nil.

Information The FindField method is the same as the FieldByName method, except that it returns nil rather than raising an exception when the field is not found.
Image