pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedConnection to PostgreSQL from Excel
3+ messages / 2 participants
[nested] [flat]
* Connection to PostgreSQL from Excel
@ 2018-08-27 07:55 Paul Suworow <paul.suworow@gmail.com>
2018-08-27 08:49 ` Re: Connection to PostgreSQL from Excel Łukasz Jarych <jaryszek@gmail.com>
2018-08-27 20:19 ` Connection to PostgreSQL from Excel Paul Suworow <paul.suworow@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Paul Suworow @ 2018-08-27 07:55 UTC (permalink / raw)
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>; jaryszek@gmail.com <jaryszek@gmail.com>; +Cc: tom.shriner <tom.shriner@tmpsystems.net>
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Connection to PostgreSQL from Excel
2018-08-27 07:55 Connection to PostgreSQL from Excel Paul Suworow <paul.suworow@gmail.com>
@ 2018-08-27 08:49 ` Łukasz Jarych <jaryszek@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Łukasz Jarych @ 2018-08-27 08:49 UTC (permalink / raw)
To: paul.suworow@gmail.com; +Cc: " <pgsql-general@postgresql.org>; tom.shriner@tmpsystems.net
Hi,
i think that this is not possible to avoid installing driver.
pon., 27 sie 2018 o 09:55 Paul Suworow <paul.suworow@gmail.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
>
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Connection to PostgreSQL from Excel
2018-08-27 07:55 Connection to PostgreSQL from Excel Paul Suworow <paul.suworow@gmail.com>
@ 2018-08-27 20:19 ` Paul Suworow <paul.suworow@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Paul Suworow @ 2018-08-27 20:19 UTC (permalink / raw)
To: pgsql-odbc
Hi team,
Thank you for your great work! I am developing 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-08-27 20:19 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-27 07:55 Connection to PostgreSQL from Excel Paul Suworow <paul.suworow@gmail.com>
2018-08-27 08:49 ` Łukasz Jarych <jaryszek@gmail.com>
2018-08-27 20:19 ` Paul Suworow <paul.suworow@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox