Screen-value Mode (-scrvalmode)

Use Screen-value Mode (-scrvalmode) to specify the behavior of empty and blank items in combo-box item lists.

Operating system and syntax UNIX / Windows -scrvalmode n
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session    0 0
n
The screen-value mode. Valid modes are:
  • 0 — If the selected item in the combo-box list is empty or no item in the combo-box list is selected, the SCREEN-VALUE attribute for the combo-box returns the Unknown value (?) and the INPUT-VALUE attribute returns the empty string (""). Trailing spaces are ignored when assigning a value to the combo-box.
  • 1 — If the selected item in the combo-box list is empty, the SCREEN-VALUE attribute for the combo-box returns the empty string (""). Note that if no item in the combo-box list is selected, the SCREEN-VALUE attribute returns the Unknown value ( ?). In either case, the INPUT-VALUE attribute returns the empty string ("").
  • 3 — The same as mode 1, except if the SCREEN-VALUE attribute for the combo-box returns the Unknown value (?), the INPUT-VALUE attribute also returns the Unknown value (?).
  • 4— Honor trailing spaces when assigning a value to the combo-box. Trailing spaces are ignored by default. For example, with mode 4 the combo-box treats an empty string (""), a single space (" "), and two spaces(" ") as different items.

This startup parameter does not apply to combo-box browse columns.