Re: Connection to PostgreSQL from Excel

From: Łukasz Jarych <jaryszek(at)gmail(dot)com>
To: paul(dot)suworow(at)gmail(dot)com
Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>, tom(dot)shriner(at)tmpsystems(dot)net
Subject: Re: Connection to PostgreSQL from Excel
Date: 2018-08-27 08:49:05
Message-ID: CAGv31odUT7XYJ5nUCxqYzbB=Kk06YCmA7wenL7JHX-EwxrJShQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

Hi,

i think that this is not possible to avoid installing driver.

pon., 27 sie 2018 o 09:55 Paul Suworow <paul(dot)suworow(at)gmail(dot)com> napisał(a):

> Hi team,
>
> I am working on an Excel tool that should allow users to update tables and
> charts from a PostgreSQL database. My workbook currently connects to the
> database using the following VBA code:
>
> Set objConnection = CreateObject("ADODB.Connection")
>
> ConnString = "DRIVER={PostgreSQL
> Unicode};DATABASE=FMS;SERVER=[x];PORT=5432;Uid=[x];Pwd=[x]"
>
> objConnection.Open ConnString
>
> All works fine but the code requires PostgreSQL driver to be installed on
> user's machine.
>
> Is there an alternative way to connect to a PostgreSQL database without
> pre-creating DNS or installing any drivers in advance?
>
> Thank you for your help!
>
> Kind regards,
> Paul
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Ragasits 2018-08-27 09:00:04 pg_basebackup + SSL error: bad length
Previous Message Paul Suworow 2018-08-27 07:55:43 Connection to PostgreSQL from Excel

Browse pgsql-odbc by date

  From Date Subject
Next Message Paul Suworow 2018-08-27 20:19:30 Connection to PostgreSQL from Excel
Previous Message Paul Suworow 2018-08-27 07:55:43 Connection to PostgreSQL from Excel