From: Richard Broersma <richard.broersma@gmail.com>
To: Andreas <maps.on@gmx.net>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Access complains : Update or CancelUpdate without AddNew or Edit
Date: Thu, 20 Mar 2008 22:08:53 -0700
Message-ID: <396486430803202208k656417b4jd917034c320b09e6@mail.gmail.com> (raw)
In-Reply-To: <47E29CE7.2040103@gmx.net>
References: <47E29CE7.2040103@gmx.net>
On Thu, Mar 20, 2008 at 10:20 AM, Andreas <maps.on@gmx.net> wrote:
> ... event before update caused an error:
> Update or CancelUpdate without AddNew or Edit
This sounds more like a MS-Access Visual Basic Coding problem. Any ODBC
related error messages are really PostgreSQL error messages that are relayed
to you. What you are describing here doesn't sound any thing like and ODBC
or PostgreSQL error.
They say they dont do anything special. Just clicking a checkbox or
> trying to jump to the next record would do to trigger the error.
> Later the same action won't cause any trouble, so I can't crack this in
> debug-mode. Here on my box it always works as expected.
>
How are you binding the form to the user controls? Are you linking from
linked tables, linked DAO recordsets, or linked ADO recordsets?
Could someone here give a hint?
>
I would start by looking for code in the form that might be calling the
form's recordset UPDATE or CancelUpdate method.
Also, if this is a access problem, I would check out this site for further
information: www.utteraccess.com
Regards,
Richard Broersma Jr.
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: richard.broersma@gmail.com, maps.on@gmx.net
Subject: Re: Access complains : Update or CancelUpdate without AddNew or Edit
In-Reply-To: <396486430803202208k656417b4jd917034c320b09e6@mail.gmail.com>
References: <47E29CE7.2040103@gmx.net> <396486430803202208k656417b4jd917034c320b09e6@mail.gmail.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