J
James Martin
I have code in my form's BeforeUpdate event that changes the value of one of
the fields on the underlying record.
However, sometimes (but only sometimes) when it gets to the code that
assigns a value to this field, I get the following error:
Run-time error '-2147352567 (800200009)':
Update or CancelUpdate without AddNew or Edit.
When I go to Debug and try to assign a simple value directly, I get the same
error.
It is this one field that isn't accessed anywhere else in the code. It ought
to be straight-forward and most of the time it updates without a problem.
Any suggestions as to the cause of this mysterious error would be greatly
appreciated!
Thanks
James
the fields on the underlying record.
However, sometimes (but only sometimes) when it gets to the code that
assigns a value to this field, I get the following error:
Run-time error '-2147352567 (800200009)':
Update or CancelUpdate without AddNew or Edit.
When I go to Debug and try to assign a simple value directly, I get the same
error.
It is this one field that isn't accessed anywhere else in the code. It ought
to be straight-forward and most of the time it updates without a problem.
Any suggestions as to the cause of this mysterious error would be greatly
appreciated!
Thanks
James