Use this function to return the current caption of a field referred to by a fieldref as a string.
Caption := FieldRef.CAPTION
Refers to the current field.
Property Value/Return Value
Type: text or code
CaptionML or Name property as text or code.
CAPTION returns the caption of a field. CAPTION first looks for aproperty.
If it does not find one it will use the. This means that CAPTION is enabled for multilanguage functionality.
This function is similar to thefunction.