Solved

Populate dropdownlistbox from an access db table

Posted on 2008-06-12
3
420 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
dividesSelf challange 15 79
find a node in VST 2 47
object oriented javascript web form 8 71
How Complex Is This Java Course ? 9 63
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This is about my first experience with programming Arduino.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

706 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

15 Experts available now in Live!

Get 1:1 Help Now