I have an entry box, which I use to create a search and put the results in a selection box. For instance, user may type in 'EX' and get all of the listings that have that combo.
I want the users to be able to search for more than one combo, if they like, but I cannot get the selection box to clear. I have tried initializing the table in cobol, using delete-list-item, initializing in the dialog etc, but the earlier entries won't go away. Below is an example with delete-occurrence. There must be something simple I am overlooking. Thx.
CLEAR-LOOP
DELETE-OCCURRENCE ACCOUNT-GROUP $REGISTER
DECREMENT ACCOUNT-COUNT
DECREMENT $REGISTER
REFRESH-OBJECT SB-ACCOUNT
IF= $REGISTER 0 EXIT-CLEAR-LOOP
BRANCH-TO-PROCEDURE CLEAR-LOOP
EXIT-CLEAR-LOOP
#selectionbox
#clear
#reset
