Function FieldName() Foundation
Return a field name from a work area.
FieldName( <nPosition> ) --> cFieldName
The return value of FieldName() is a character string containing the name of the field at the position <nFieldPos> in the work area. When <nFieldPos> is not a valid field position in the work area, a null string ("") is returned.
The database function FieldName() returns the name of an individual field from a record of a work area. If the function is used without the alias operator, the field name from the current work area is returned. The counterpart of FieldName() is the function FieldPos() which returns the position of the field in the record based on the field name.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.