error processing if database is down

Results 1 to 2 of 2

Thread: error processing if database is down

  1. #1
    Kelsi Guest

    Default error processing if database is down

    I am trying to exit a function or go to a particular section of code if the database is down. I know about the On Error Next, but it continues processing to the next line of code after the error. Please help.

  2. #2
    keithadler@hotmail.com Guest

    Default RE: error processing if database is down

    Check the Err.Number after you try to open the database. If it is > 0 then Respoinse.Redirect the user to a "Site is down" page. You could also do an exit sub/function.

Posting Permissions

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