Hi All,
With PB12.5 here.
I have a datawindow: dw_installation_dept with few columns: Department.deptID, Installation.InstID, Installation.InstCode, Installation.InstCode.
Have a dropdown control at w_main, which get the data from the datawindow as below:
------
dw_installation_dept.SetTransObject(SQLCA)
ll_rowmax = dw_installation_dept.retrieve()
FOR ll_c = 1 to ll_rowmax
ls_temp = string(dw_installation_dept.object.installation_instcode[ll_c])+' - '+dw_installation_dept.object.installation_instname[ll_c]
ddlb_installation.InsertItem(ls_temp, 0)
NEXT
------
My question is, how can I get the deptID value from the datawindow based on dropdown selection from the w_main.
Kindly advise.
Thank you in advance.
BR,
Yow