mdb works, mde doesn't

Re: mbe works, mde doesn't

It's pretty strict on having error handling on every sub/function so if you manage to do that your app will be fine.

I'm guessing that you took this db over from someone and the previous developer didn't pay much attention to error handling. So as you can see it's really good practice to start of your function with some error handling first before you start coding so that you don't end up having to do it when your application has grown.
 
Re: mbe works, mde doesn't

If you implement error handlers all over, sometimes it is advantageous to have a global boolean flag, set in one of the modules, to indicate whether or not you wish to have error handling, so you can switch it on and off.

If ErrorHandlingOn Then OnError Goto WhereverItIsSupposedToGo
 
Re: mbe works, mde doesn't

I imported all objects into a new database, and there is no more crashing. I guess Dave was right at the start when he thought that there was a problem with the references.
Now I'll add thorough error handling. Thanks all!
 

Users who are viewing this thread

Back
Top Bottom