Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.47 KB

devenv-optioncaption-property.md

File metadata and controls

51 lines (40 loc) · 1.47 KB
title description ms.author ms.date ms.topic author ms.reviewer
OptionCaption Property
Sets the string string options that are displayed to the user.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

OptionCaption Property

Version: Available or changed with runtime version 1.0.

Sets the string string options that are displayed to the user.

Applies to

  • Table Field
  • Page Field
  • Report Column

Syntax

field(1300; "Payment Prediction"; Option)
{
    OptionMembers = " ",Late,"On-Time";
    OptionCaption = ' ,Late,On-Time';
}
field(1301; "Prediction Confidence"; Option)
{
    OptionMembers = " ",Low,Medium,High;
    OptionCaption = ' ,Low,Medium,High';
}

Remarks

OptionCaption sets the text used to show the option values available for a variable or a field on a page or report. The OptionString Property contains the set of values that are acceptable choices. If you have set the OptionCaptionML Property, this overrides the OptionCaption setting.

See Also

OptionString Property
OptionCaptionML Property