On 3/21/08, Fred Parkinson <FredP(at)abag(dot)ca(dot)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.
Richard Broersma Jr.
In response to
pgsql-odbc by date
|Next:||From: Mike Traum||Date: 2008-03-23 20:43:31|
|Subject: Visio not able to retrieve foreign keys against 8.3|
|Previous:||From: Fred Parkinson||Date: 2008-03-21 17:27:03|
|Subject: Re: Access complains : Update or CancelUpdate withoutAddNew or Edit|