Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Odbc > Re: Access comp...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2313 of 2443
Post > Topic >>

Re: Access complains : Update or CancelUpdate without AddNew or Edit

by richard.broersma@[EMAIL PROTECTED] ("Richard Broersma") Mar 21, 2008 at 12:53 PM

------=_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 <FredP@[EMAIL PROTECTED]
> wrote:
>
> But now and then a user re****ts 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

<div><span class="gmail_quote">On 3/21/08, <b
class="gmail_sendername">Fred Parkinson</b> &lt;<a
href="mailto:FredP@[EMAIL PROTECTED]
">FredP@[EMAIL PROTECTED]
>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px
0px 0.8ex; BORDER-LEFT: #ccc 1px solid">But now and then a user re****ts a
error (I have to translate):<br>.. event before update caused an
error:<br>
Update or CancelUpdate without AddNew or Edit</blockquote>
<div>&nbsp;</div>
<div>I&#39;ve only seen this error in MS-Access when I&#39;ve done one of
two things:</div>
<div>&nbsp;</div>
<div>I&#39;ve tried up manually update or cancel an update&nbsp;to&nbsp;a
record (in a recordset object)&nbsp;that wasn&#39;t&nbsp;already opened
for editing or opened as a newly created record.</div>
<div>&nbsp;</div>
<div>This should be the only way that this error message should be
raised.</div>
<div>&nbsp;</div>
<div>I would use the DEBUG find&nbsp;utility to search all of you
form&#39;s code&nbsp;for any&nbsp;instances&nbsp;where the DAO recordset
methods&nbsp;are being used to update your form&#39;s recordset
object.</div>
<div>&nbsp;</div>
<div>I would bet that user is able to call one of these methods via the
form&#39;s control&#39;s event procedures&nbsp;at an unexpected time when
the record has not recieved any changed from the user.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Richard Broersma Jr.</div>
<div>&nbsp;</div></div>

------=_Part_8127_29625515.1206129230537--
 




 1 Posts in Topic:
Re: Access complains : Update or CancelUpdate without AddNew or
richard.broersma@[EMAIL P  2008-03-21 12:53:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 16:40:20 CST 2008.