How do i select a data column from a DDDW dynamically in PowerBuilder

1.7k views Asked by At

I'm using PowerBuilder 11.5 and still relatively new to PowerBuilder. I need to get the datacolumn value of the selected item of a DDDW from a popoup window? Any help would be appreciated.

2

There are 2 answers

0
user2773471 On BEST ANSWER

Thanks for the reply I got the datacolumn value by doing a case statement on the dwo.name in the itemchanged event of the datawindow, and storing the data in an instance variable.

0
Terry On

On the surface, the answer is datawindow.GetItemxxx () (where xxx is String or Number or ... corresponding to the data type of the column being retrieved).

Good luck,

Terry.