| Function group | Execute on client | Platform(s) |
| Field | NO | All |
nam(fieldname[,doitems=ktrue])
Returns the name of a field as a string; fieldname must be a field name or variable, not a constant or expression.If doitems is true,nam() follows item references
CalculatelFieldNameasnam(CCODE)# returns the string 'CCODE'
CalculatelFieldNameasnam(#SUBFLD)# returns the name of the subtotal field