Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Match and get data from datawindow

$
0
0

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


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>