Solved

Populate dropdownlistbox from an access db table

Posted on 2008-06-12
3
431 Views
Last Modified: 2013-12-26
Hi,
I'm working w/ Powerbuilder 10.5 and an Access DB.
I've put a dropdownlistbox on a window layout.  I want this listbox to hold all the distinct values in a column from the Access DB table I'm working with.  I've tried several different things that I would've used in VB.Net, but I haven't gotten anything to work yet. I've tried using AddItem and InsertItem in a loop and I've also tried an sql statement.  Any help is very appreciated.

thx,
Dave
0
Comment
Question by:coperations07
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
sandeep_patel earned 350 total points
ID: 21773152
Hi,
You should use dropdowndatawindow option for it. see below link to create and use dropdowndatawindow...

http://www.experts-exchange.com/Programming/Editors_IDEs/PowerBuilder/Q_21724948.html

Let me know if you still have any problem in creating this

Regards,
Sandeep
0
 

Author Comment

by:coperations07
ID: 21773172
thanks for the reply!  this has been driving me nuts.
0
 

Author Comment

by:coperations07
ID: 21781952
Looks like that got me going!

thx,
Dave
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This is about my first experience with programming Arduino.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question