Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Populate dropdownlistbox from an access db table

Posted on 2008-06-12
3
Medium Priority
?
437 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 1400 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

604 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