Untrappable error

E

Ed Jobe

I'm trying to trap error 3022, which occurs when I add a record with an
indexed key that already exists, creating a duplicate where duplicates
aren't allowed. The error seems to occur after the BeforeUpdate event and
before the AfterUpdate event. Any ideas on how to trap this error?
 
E

Ed Jobe

Thanks. I hadn't used that event before. But I need to trap the error in the
BeforeUpdate event so that I can avoid performing some steps I have coded
there. Therefore I'm checking the recordset at that point for duplicate
records.

Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top