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 |
Version: Available or changed with runtime version 1.0.
Sets the string string options that are displayed to the user.
- Table Field
- Page Field
- Report Column
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';
}
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.