Solved

Connecting to Postgres DB with Excel

Posted on 2011-09-14
4
611 Views
Last Modified: 2013-11-05
Hi

I want to create a data connection from excel to Postgres by using ODBC.  I'm using ODBC for my application to connect to postgres and the ODBC is working fine, but thru excel the following error occur - Operation cannot be executed because an error occurred during connection to the driver, error also attached.

I'm using Microsoft Office Professional Plus 2010 and Postgres 8.2.4.1, with ODBC driver version 7.03.01.00 from Insight Distribution Systems .  If somebody can please help me for just connecting to postgres from excel.

Thanks
Excel-Error-Postgres-ODBC.png
0
Comment
Question by:ruanlab123
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:XL-Dennis
ID: 36548652
Hi,

Would it be possible for You to provide us the connection string?
0
 
LVL 1

Accepted Solution

by:
ruanlab123 earned 0 total points
ID: 36559817
Found the problem, use the x64 postgres driver and then the connection works.
0
 
LVL 1

Author Closing Comment

by:ruanlab123
ID: 36591576
No comments.
0
 
LVL 10

Expert Comment

by:XL-Dennis
ID: 36562977
Thanks for posting back. Please close this thread and no points should be given.

Kind regards,
Dennis
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

705 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