Reference > Functions reference > Design functions > FieldComment
 
FieldComment
Purpose 
Returns the specified field's comment.
Format 
FieldComment(fileName;fieldName)
Parameters 
fileName - the name of an open database file (local or remote).
fieldName - the name of a field in the specified database file.
Important  See Design functions for information about literal text parameters.
Data type returned 
text
Originated in 
FileMaker Pro 7.0
Description 
The field name must be in the form tablename::fieldname to specify a field that exists in a table different from the current table.
Examples 
FieldComment("Customers"; "Phone Number") returns “Customer's home telephone number” if it was entered as a comment for the Phone Number field.
FieldComment("Customers"; "Accounts::Current Balance") returns “Customer's current balance” if it was entered as a comment for the Current Balance field in the Accounts table.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas