Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pulling Info From a PostgreSQL DB into an Excel Spreadsheet

Status
Not open for further replies.

dionu

Programmer
Oct 19, 2001
10
CA
I need to pull some info from a PostgreSQL database into an Excel spreadsheet for reporting purposes. I have created a query that can do it, but I want to create a form that has at least one parameter for the query which is ran when the user clicks a command button.

I am not sure of how to setup the query in VB with the passwords required to access the DB.

Also, does anyone know how to populate a list box from the same database? What I would really like to do is have the form open with a list box full of the parameters right from the database, reducing user error. Then once selected, the main query would run and fill the spreadsheet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top