Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fOj9E-0002k0-I8 for pgsql-general@arkaria.postgresql.org; Fri, 01 Jun 2018 12:27:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fOj9D-0005JP-CV for pgsql-general@arkaria.postgresql.org; Fri, 01 Jun 2018 12:27:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fOj9D-0005JG-4z for pgsql-general@lists.postgresql.org; Fri, 01 Jun 2018 12:27:11 +0000 Received: from serveurmail01.codata.be ([82.146.123.190]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fOj9A-0005DT-02 for pgsql-general@lists.postgresql.org; Fri, 01 Jun 2018 12:27:10 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by serveurmail01.codata.be (Postfix) with ESMTP id 54083900C0 for ; Fri, 1 Jun 2018 14:27:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at serveurmail01.codata.be Received: from serveurmail01.codata.be ([127.0.0.1]) by localhost (serveurmail01.codata.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXTLa5gE52se for ; Fri, 1 Jun 2018 14:27:03 +0200 (CEST) Received: from [10.0.0.100] (38-179-112-217.fix.adsl.belcenter.be [217.112.179.38]) by serveurmail01.codata.be (Postfix) with ESMTPSA id DB879900B9 for ; Fri, 1 Jun 2018 14:27:03 +0200 (CEST) Subject: Re: VBA to connect to postgresql from MS Access To: pgsql-general@lists.postgresql.org References: Reply-To: arnaud.listes@codata.eu From: "Arnaud L." Message-ID: <40449b8f-b25c-ce8d-1484-148c67ff8afc@codata.eu> Date: Fri, 1 Jun 2018 14:27:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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