I have a multi column listbox that reads values from a table. I want to select multiple values from the listbox and write them to an array. I have the InterActiveChange;
FOR I = 1 to THIS.ListCount
IF THIS.Selected(I)
list_count = list_count + 1
* add new row to existing array
DIMENSION selected_list[list_count]
selected_list[list_count] = THIS.value
ENDIF
ENDFOR
I bomb out with a source not found error when I go back to the listbox, and the above dosn't work . I have never used a list box before. All the help Ive found is about filling but none on retreiving. Where am I going wrong?
FOR I = 1 to THIS.ListCount
IF THIS.Selected(I)
list_count = list_count + 1
* add new row to existing array
DIMENSION selected_list[list_count]
selected_list[list_count] = THIS.value
ENDIF
ENDFOR
I bomb out with a source not found error when I go back to the listbox, and the above dosn't work . I have never used a list box before. All the help Ive found is about filling but none on retreiving. Where am I going wrong?