Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## LOOKUP( ) method

> Returns the index of the specified item in a combo-box list or selection list.

> Return type: INTEGER

> Applies to: COMBO-BOX widget, SELECTION-LIST widget

> Syntax
>     LOOKUP ( list-string )

> ``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.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095