Screen-value Mode (-scrvalmode)
- Last Updated: April 24, 2024
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
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-VALUEattribute for the combo-box returns the Unknown value (?) and theINPUT-VALUEattribute 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-VALUEattribute for the combo-box returns the empty string (""). Note that if no item in the combo-box list is selected, theSCREEN-VALUEattribute returns the Unknown value (?). In either case, theINPUT-VALUEattribute returns the empty string (""). -
3 — The same as mode 1, except if the
SCREEN-VALUEattribute for the combo-box returns the Unknown value (?), theINPUT-VALUEattribute 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.
-
0 — If the selected item in the combo-box list is empty or no
item in the combo-box list is selected, the
This startup parameter does not apply to combo-box browse columns.