LABEL

Returns the field label value for each record. If a field label does not exist for a particular value then the field value is returned.

LABEL ( <field_name> )
  • field name: The field to retrieve the label from.

Example: Create a field on the SALES table that returns the field label that has been assigned to each product code.

LABEL(SALES.PRODUCT)