Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Location
    Reston, VA
    Posts
    86

    Unanswered: Error Handler doesn't work

    This is somewhat odd, I have around 10 modules and dozens of form / report modules in one of my databases, and I have error handlers within every single procedure. They all work fine. Today, I created a new module for a custom prodecure and the error handler I put in it does not work - execution keeps stopping on the error instead of bypassing it like I want. There's nothing special about the error, just a normal run-time error which should be caught by the handler. All my other handlers work...except for this one. Any ideas what could be going on?

  2. #2
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    441
    VBE - Tools | Options - General tab, what's the Error Trapping set to? Break on all errors or break on unhandled errors? If the first, try the latter.
    Roy-Vidar

  3. #3
    Join Date
    Sep 2004
    Location
    Reston, VA
    Posts
    86
    RoyVidar - Thanks for the response. It's set to Break on Unhandled Errors, but I figured out a different way to write the procedure so that instead of trying to handle and bypass the error, it doesn't even occur to begin with. So everything's cool now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •