Solved

Connecting to Postgres DB with Excel

Posted on 2011-09-14
4
619 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

773 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