From: Arnaud L. <arnaud.listes@codata.eu>
To: pgsql-general@lists.postgresql.org
Subject: Re: VBA to connect to postgresql from MS Access
Date: Fri, 1 Jun 2018 14:27:03 +0200
Message-ID: <40449b8f-b25c-ce8d-1484-148c67ff8afc@codata.eu> (raw)
In-Reply-To: <CAGv31ocBxGw3YSf8MF-Y=tJu2FLJr_JgSHTtMhBh55V_eXD4uw@mail.gmail.com>
References: <CAGv31ocBxGw3YSf8MF-Y=tJu2FLJr_JgSHTtMhBh55V_eXD4uw@mail.gmail.com>
Le 01-06-18 à 14:21, Łukasz Jarych a écrit :
> ODBC;DSN=PostgreSQL35W;DATABASE=AccessTest;SERVER=localhost;PORT=5432;*CA=d;A7=100;B0=255;B1=8190;BI=0;C2=;CX=1c305008b;A1=7.4*
>
> When i was searching code for this in internet i found only:
> DRIVER={PostgreSQL Unicode(x64)};DATABASE=AccessTest;SERVER=localhost;PORT=5432;UID=postgres;PWD=1234;"
>
> but this is not working, why? I do not know what these CA, BO, BI
> strange paramaters.
Why is this not working, we cannot answer without the error message you
get. You probably use the wrong driver name.
As for the CA, BO, etc... they are abreviations of the keywords. You can
use either the keywords or the abreviations in your connection string,
and they are all explained here :
https://odbc.postgresql.org/docs/config-opt.html
--
Arnaud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: arnaud.listes@codata.eu
Subject: Re: VBA to connect to postgresql from MS Access
In-Reply-To: <40449b8f-b25c-ce8d-1484-148c67ff8afc@codata.eu>
References: <CAGv31ocBxGw3YSf8MF-Y=tJu2FLJr_JgSHTtMhBh55V_eXD4uw@mail.gmail.com> <40449b8f-b25c-ce8d-1484-148c67ff8afc@codata.eu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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