Hi All,
I have a List Box control which has selection from datawindow as below.
The List Box is set multiselect to true, my problem is, how to get the multiselect data and make it as parameter to generate report?
Understand, there is function: ls_stockclass = w_main.lb_stockclass.SelectedItem(), but this is only able to get the first selected data.
Kindly advise.
Thank you in advance.
------------
dw_stockclass.SetTransObject(SQLCA)
ll_rowmax = dw_stockclass.retrieve()
FOR ll_c = 1 to ll_rowmax
ls_temp = string(dw_stockclass.object.code[ll_c])+' - '+dw_stockclass.object.descr[ll_c]
lb_stockclass.InsertItem(ls_temp, 0)
NEXT
-------------
BR,
Yow