LOOKUP( ) method
- Last Updated: October 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Returns the index of the specified item in a combo-box list or selection list.
Return type: INTEGER
Applies to: BROWSE widget (column), COMBO-BOX widget, SELECTION-LIST widget
Syntax
|
- list-string
- A character-string expression that specifies a single value in the combo box or
selection list.
If list-string has the Unknown value (
?), LOOKUP returns the Unknown value (?). If list-string is not in the list, LOOKUP returns 0.
For browses, this method applies only to combo-box browse columns.