pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Geert Janssens <info@kobaltwit.be>
To: pgsql-odbc@postgresql.org
Subject: Strange DELETE inconsistency
Date: Wed, 6 Sep 2006 18:48:00 +0200
Message-ID: <200609061848.00727.info@kobaltwit.be> (raw)

Hi,

Another issue with MS Access 2000, PostgreSQL 8.0.8 and psqlODBC 8.02.01.00:

A have a bound form that manages a linked ODBC table (form=Artikels, 
table=tarticles which is linked via psqlODBC).

When I delete a record via the access menu Edit->Delete record, everything 
works fine: the record gets deleted, and the next or previous record is shown 
(depending on the position of the cursor).

When I do the same via vba (a custom button in the menu bar that calls
DoCmd.RunCommand acCmdDeleteRecord), either nothing seems to happen, or the 
currently visible record's fields all change to #Deleted#.

If I compare the Comm logs for these two different Delete actions, I see that 
the first contains a DELETE, immediatly followed by a SELECT of other 
records. The second contains a DELETE, immediatly followed by a number of 
error messages, and no SELECT. Both are attached for reference.

What could cause this ? If required, I can also run the same tests with MyLog 
enabled for more details.

Thank you,

Geert Janssens
-- 
Kobalt W.I.T.
Web & Information Technology
Brusselsesteenweg 152
1850 Grimbergen

Tel  : +32 479 339 655
Email: info@kobaltwit.be

Attachments:

  psqlodbc_Menu.zip (application/x-zip, 9.0K) download

  psqlodbc_VBA.zip (application/x-zip, 8.7K) download

Message-ID: <200609061848.00727.info@kobaltwit.be>
Permalink:  ../200609061848.00727.info@kobaltwit.be/
Also on:    postgresql.org/message-id/200609061848.00727.info@kobaltwit.be

 · 

reply

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: info@kobaltwit.be
  Subject: Re: Strange DELETE inconsistency
  In-Reply-To: <200609061848.00727.info@kobaltwit.be>
  References: <200609061848.00727.info@kobaltwit.be>

* 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