Use this function to return the option caption of the field that is currently selected.
OptionCaption := FieldRef.OPTIONCAPTION
Refers to the current field.
Property Value/Return Value
The option caption of the field.
The option caption of the field is returned as a comma separated string.
If the field is not an option, an empty string is returned.
This function returns an error if no field is selected.