Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.47 KB

fieldref-getenumvaluecaptionfromordinalvalue-method.md

File metadata and controls

43 lines (35 loc) · 1.47 KB
title description ms.author ms.date ms.topic author ms.reviewer
FieldRef.GetEnumValueCaptionFromOrdinalValue(Integer) Method
Gets an Enum value (or Option member) caption for the from the Enum metadata for the field that is currently selected.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

FieldRef.GetEnumValueCaptionFromOrdinalValue(Integer) Method

Version: Available or changed with runtime version 7.0.

Gets an Enum value (or Option member) caption for the from the Enum metadata for the field that is currently selected.

Syntax

The Enum value caption :=   FieldRef.GetEnumValueCaptionFromOrdinalValue(Ordinal: Integer)

Parameters

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

Ordinal
 Type: Integer
The Enum value's ordinal value to get the Enum value (or Option member) caption for.

Return Value

The Enum value caption
 Type: Text
The Enum value caption.

See Also

FieldRef Data Type
Get Started with AL
Developing Extensions