[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Find a field based on its name
Source position: db.pas line 1035
public function Tfields.FieldByName( |
const Value: String |
):TField; |
Value |
|
Fieldname to search for |
Field instance with FieldName matching Value
Fieldbyname searches the list of fields and returns the field instance whose FieldName property matches Value. The search is performed case-insensitively.
If no field instance is found, then an exception is raised. If this behaviour is undesired, use TField.FindField, where Nil is returned if no match is found.
|
Find a field based on its name |
|
|
Search field based on its fieldnumber |
|
|
Return the index of a field instance |
lazarus-ccr.sourceforge.net |