[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Search a field by name
Source position: db.pas line 1634
public function TDataSet.FieldByName( |
const FieldName: string |
):TField; |
FieldName |
|
Fieldname to look for. |
Field instance matching FieldName
FieldByName is a shortcut for Fields.FieldByName: it searches for the field with fieldname equalling FieldName. The case is performed case-insensitive. The matching field instance is returned.
If the field is not found, an EDatabaseError exception will be raised.
|
Find a field based on its name |
|
|
Find a field by name |