From: Vidas Makauskas <vms@centras.lt>
To: pgsql-odbc@postgresql.org
Subject: ms access 97
Date: Thu, 9 Jun 2005 13:45:04 +0300
Message-ID: <d896jb$112c$1@news.hub.org> (raw)
Hi,
I can connect to database via DSN:
Set wrkODBC = CreateWorkspace("", "uname", "", dbUseODBC)
odbc="ODBC;DSN={PostgreSQL};DATABASE=db;SERVER=server;PORT=5432;Uid=uname;Pwd=pass;"
Set conODBC = wrkODBC.OpenConnection("uname", , , odbc)
Some years ago i've been using DRIVER instead of DSN:
odbc="ODBC;DRIVER={PostgreSQL};DATABASE=db;SERVER=server;PORT=5432;Uid=name;Pwd=pw;"
& _
'"A0=0;A1=6.4;A2=0;A3=0;A4=0;A5=0;A6=;A7=100;A8=4096;A9=0;"B0=254;B1=8190;B2=0;B3=0;B4=1;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_"
but today i got error
what is wrong?
I can edit link'ed table. Primary key exists too. But
Set recordset = conODBC.OpenRecordset("SELECT * FROM table", dbOpenDynaset
[,dbOptimistic] )
recordset.updatable = false
what is wrong?
Thanks in advance,
Best regards,
Vidas
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-odbc@postgresql.org
Cc: vms@centras.lt
Subject: Re: ms access 97
In-Reply-To: <d896jb$112c$1@news.hub.org>
References: <d896jb$112c$1@news.hub.org>
* 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