The
getocclabel function returns the occurrence label for a repeating item or group (i.e., the row label of a roster). If no
item_name or
group_name is given, the function returns the occurrence label of the current field, as calculated as follows:
The function returns a string containing the occurrence label. If an occurrence label for the item or group does not exist, the function returns a blank string.