From: Albert Cervera Areny <albertca@jazzfree.com>
To: Richard Huxton <dev@archonet.com>
To: pgsql-odbc@postgresql.org
Subject: Re: INSERT but no UPDATE or DELETE from windows
Date: Thu, 10 Jul 2003 10:23:39 +0200
Message-ID: <200307101023.44294.albertca@jazzfree.com> (raw)
In-Reply-To: <200307092139.36703.dev@archonet.com>
References: <200307091525.39220.albertca@jazzfree.com>
<200307092139.36703.dev@archonet.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A Dimecres 09 Juliol 2003 22:39, Richard Huxton va escriure:
> On Wednesday 09 Jul 2003 2:25 pm, Albert Cervera Areny wrote:
> > Hi,
> > I have Postgres 7.3.3 and ODBC driver 7.03.0100 and as the subject
> > says, I can INSERT but can't UPDATE nor DELETE. I can also create new
> > tables. The user has permision to do this as the psql \dp show the
> > correct privileges and lets me UPDATE without problems using the same
> > user as the ODBC driver.
> >
> > I open the database as Dynaset (from VB and Visdata) but when I try to
> > UPDATE or .Edit a record it says something like 'should use an updatable
> > query' (translated from spanish).
> >
> > The odbc connection is not, of course, read only.
>
> Can you give us the options ticked/not in the odbc driver settings and the
> options used when creating the cursor?
Now, I've been able to us UPDATE using the dbSQLPassthrough option parameter,
but can't update using a recordset. With Openrecordset, the dbSQLPassthrough
parameter is only valid for dbOpensnapshot and I can't update using any of
dbOpenDynaset, dbOpenDynamic, dbOpenTable either.
Any suggestions? Thanks for your help.
PS: I use the simple PostgreSQL driver, not the UTF beta one.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/DSKLTK7ZP4pDOHcRAgMcAJ9uWpzmDwafNfYPX4gUI4x/S7rJTACgjXnK
7jBroXNhK0bSswfQkK62EW4=
=7iCE
-----END PGP SIGNATURE-----
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: albertca@jazzfree.com, dev@archonet.com
Subject: Re: INSERT but no UPDATE or DELETE from windows
In-Reply-To: <200307101023.44294.albertca@jazzfree.com>
References: <200307091525.39220.albertca@jazzfree.com> <200307092139.36703.dev@archonet.com> <200307101023.44294.albertca@jazzfree.com>
* 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