pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma <richard.broersma@gmail.com>
To: Fred Parkinson <FredP@abag.ca.gov>
Cc: Andreas <maps.on@gmx.net>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Access complains : Update or CancelUpdate without AddNew or Edit
Date: Fri, 21 Mar 2008 12:53:50 -0700
Message-ID: <396486430803211253t2fa7ae39sf6641f67887ec943@mail.gmail.com> (raw)
In-Reply-To: <47E38D77020000A7000071C4@groupwise.abag.ca.gov>
References: <47E29CE7.2040103@gmx.net>
	<47E38D77020000A7000071C4@groupwise.abag.ca.gov>

On 3/21/08, Fred Parkinson <FredP@abag.ca.gov> wrote:
>
> But now and then a user reports a error (I have to translate):
> .. event before update caused an error:
> Update or CancelUpdate without AddNew or Edit


I've only seen this error in MS-Access when I've done one of two things:

I've tried up manually update or cancel an update to a record (in a
recordset object) that wasn't already opened for editing or opened as a
newly created record.

This should be the only way that this error message should be raised.

I would use the DEBUG find utility to search all of you form's code for
any instances where the DAO recordset methods are being used to update your
form's recordset object.

I would bet that user is able to call one of these methods via the form's
control's event procedures at an unexpected time when the record has not
recieved any changed from the user.

Regards,
Richard Broersma Jr.

view thread (6+ messages)  latest in thread

Message-ID: <396486430803211253t2fa7ae39sf6641f67887ec943@mail.gmail.com>
Permalink:  ../396486430803211253t2fa7ae39sf6641f67887ec943@mail.gmail.com/
Also on:    postgresql.org/message-id/396486430803211253t2fa7ae39sf6641f67887ec943@mail.gmail.com

 · 

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: richard.broersma@gmail.com, FredP@abag.ca.gov, maps.on@gmx.net
  Subject: Re: Access complains : Update or CancelUpdate without AddNew or Edit
  In-Reply-To: <396486430803211253t2fa7ae39sf6641f67887ec943@mail.gmail.com>
  References: <47E29CE7.2040103@gmx.net> <47E38D77020000A7000071C4@groupwise.abag.ca.gov> <396486430803211253t2fa7ae39sf6641f67887ec943@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