Icon FieldByName Method

function FieldByName(const FieldName: String): TField

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