OptionCaption Property

Version: Available or changed with runtime version 1.0.

Sets the text 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.

OptionString Property
OptionCaptionML Property