Record.FieldCaption(Any) Method

Version: Available or changed with runtime version 1.0.

Gets the current caption of the specified field as a string.

Syntax

Caption :=   Record.FieldCaption(Field: Any)

Parameters

Record
 Type: Record
An instance of the Record data type.

Field
 Type: Any
The field for which you want to retrieve the caption.

Return Value

Caption
 Type: Text

See Also

Record Data Type
Get Started with AL
Developing Extensions