- Local time
- Today, 00:08
- Joined
- Sep 12, 2006
- Messages
- 16,084
i didnt make any adjustments
i just noted that if you have error handlers, without a resume statement, and one of these has fired - then your attempt to set the error handler in the email routine will be ignored. I found one example of an unfinished error handler, but didnt check the rest of the database (eg what IS error 3020)
so i wondered whether in your work environment, you were encountering an error of some sort - that you may not even be aware of, because it was handled by your code, but that was then preventing the error handler being set in the email code section, becuse you had no resume statement (so effectively you have never left the first error handler). perhaps you should put msgboxs in all your error handlers while you are debugging this to see if one is firing for some reason.
i just noted that if you have error handlers, without a resume statement, and one of these has fired - then your attempt to set the error handler in the email routine will be ignored. I found one example of an unfinished error handler, but didnt check the rest of the database (eg what IS error 3020)
so i wondered whether in your work environment, you were encountering an error of some sort - that you may not even be aware of, because it was handled by your code, but that was then preventing the error handler being set in the email code section, becuse you had no resume statement (so effectively you have never left the first error handler). perhaps you should put msgboxs in all your error handlers while you are debugging this to see if one is firing for some reason.