![]() Chapter Contents |
![]() Previous |
![]() Next |
| List Box: _getRow |
| Syntax | |
| Example |
Syntax |
| CALL NOTIFY (list-box-name, '_getRow', item-text, row-number<, occurrence>); |
| Argument | Type | Description |
|---|---|---|
| item-text |
C | specifies the text of the item for which you want to find the row number; item-text is case sensitive. |
| row-number |
N | returns the row number of the specified item, or 0 if the item is not found |
| occurrence |
N | returns the number of the occurrence if the item occurs in the list box more than once. The default is 1. |
| Example |
_getRow returns the row number for the second occurrence of
Johnson and assigns it to the variable ROW:
call notify('listbox1','_get_row_',
'Johnson',row,2);
_msg_='Row= ' || row;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.