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.
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.