getting reserved error (and others) when delete record on form

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello.
I have two forms which have four subforms each. The subforms are on tabs
to make them fit neatly.
I have coded a delete button each form and have the delete code in the
OnDelete event method. This code asks a couple of questions to the user and
then deletes the related records...there could be hundreds of them in two
other tables.
It then writes a record to an audit table. This part is done within a
transaction.

The delete completes just fine - it appears - then I get a 3167 : Reserved
Error message. I also have got other funny messages like "could not find form
| ..."
There seems to something funny going on here. Could it be something to do
with the subforms?
Write now I am eating this error message in the form code..so my testers
don't see it until I get it sorted.

I am using. Access 2002(XP), on Windows Pro XP. The MDB is in 2000 format.

Thanks.
.


Quantcast