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.
Calculate lFieldName as nam(CCODE)
# returns the string 'CCODE'
Calculate lFieldName as nam(#SUBFLD)
# returns the name of the subtotal field