Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 4CE212E005C for ; Fri, 21 Mar 2008 16:53:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 83991-02 for ; Fri, 21 Mar 2008 16:53:52 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by postgresql.org (Postfix) with ESMTP id 194352E0056 for ; Fri, 21 Mar 2008 16:53:52 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 76so1652211wra.10 for ; Fri, 21 Mar 2008 12:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=NZQxVhduZaoAoP/gHDCk+q9N4eG5tgT4YKPPNv5SeRg=; b=ET3YrZgUqVxe28refroMErMwMl7h4Qb1LgTEVnUPVfvrhse1HwGMk0eRAxaqoVRKj++2YpOaM0b5D13CVMkh2c1c7CaN6AW5Qux+zFzyZaBn0CmBxth3vQXWAxQqupdtryxYFyK9nDde0OhK4oGlmdKuNt4FkXXRUMM5kWVcnlw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=a7VODVPJhR2WetEV1bA3ajLYFiwkK9Ou9XDaUGn+AAb+V6Jk0z9yZsJ1PZU4EZMjsctz0ocKPbgejbaeGcdGIbx2nXkE2oH4hGb9N/tk+vx3haj7euceUkwWyuPfPzT20AZqOSm+FzOu8JVoPiyysltwHMSkHyh4rQg4mj5/UuA= Received: by 10.142.44.11 with SMTP id r11mr2654750wfr.142.1206129230525; Fri, 21 Mar 2008 12:53:50 -0700 (PDT) Received: by 10.142.144.1 with HTTP; Fri, 21 Mar 2008 12:53:50 -0700 (PDT) Message-ID: <396486430803211253t2fa7ae39sf6641f67887ec943@mail.gmail.com> Date: Fri, 21 Mar 2008 12:53:50 -0700 From: "Richard Broersma" To: "Fred Parkinson" Subject: Re: Access complains : Update or CancelUpdate without AddNew or Edit Cc: Andreas , pgsql-odbc@postgresql.org In-Reply-To: <47E38D77020000A7000071C4@groupwise.abag.ca.gov> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8127_29625515.1206129230537" References: <47E29CE7.2040103@gmx.net> <47E38D77020000A7000071C4@groupwise.abag.ca.gov> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200803/27 X-Sequence-Number: 9443 ------=_Part_8127_29625515.1206129230537 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 3/21/08, Fred Parkinson 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. ------=_Part_8127_29625515.1206129230537 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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.
 
------=_Part_8127_29625515.1206129230537--