Solved

Populate dropdownlistbox from an access db table

Posted on 2008-06-12
3
432 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: 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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

734 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