Hi,
I have a number of different mdb databases which all use a couple of common functions. Instead of inserting the function into each database, I have each one referencing an mde file containing the functions in the same directory.
My problem is that if an mdb opens and the mde does not exist (e.g. was deleted) I immediately get a "compile error: can't find project or library" message. I have tried inserting code to check for broken references on startup, but this has no effect.
All I would like to do is for the mdb application to detect that the reference is missing and to close in a controlled manner. Is this possible?
Thanks for reading and for any assistance you can provide.
Jim
I have a number of different mdb databases which all use a couple of common functions. Instead of inserting the function into each database, I have each one referencing an mde file containing the functions in the same directory.
My problem is that if an mdb opens and the mde does not exist (e.g. was deleted) I immediately get a "compile error: can't find project or library" message. I have tried inserting code to check for broken references on startup, but this has no effect.
All I would like to do is for the mdb application to detect that the reference is missing and to close in a controlled manner. Is this possible?
Thanks for reading and for any assistance you can provide.
Jim