Populate dropdownlistbox from an access db table

Posted on 2008-06-12
Last Modified: 2013-12-26
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.

Question by:coperations07
  • 2
LVL 14

Accepted Solution

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

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


Author Comment

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

Author Comment

ID: 21781952
Looks like that got me going!


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Report events not being triggered 8 113
SPLUNK REST  API call to Splunk to create and index? 2 100
nestparen challenge 4 72
Modify a small python script 19 94
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
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.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now