J
JF
I have an Access application in which I have a reference to another Access
..mdb file so I can use some of the latter mdb's functions.
The problem is, after leaving the main application, the referenced mdb
remains "open". That is, the ldb file still exists and if I go into the
Task Manager, the instance of MSACCESS.EXE is still alive.
Now, I've narrowed this problem down the specific instance where I load the
form that contains calls to the referenced mdb. So, I can open my main
application, move around in it all I want and then leave and everything is
fine (and the referenced mdb's lock file is generated and subsquently
deleted). However, the minute I open the form whose event procedures are
contained within the one module that contains calls from the referenced
mdb - when I leave my application, the problem occurs. Even if I don't call
any of the referenced mdb's functions!
I've tested this over and over again, and these results seem to be very
consistent. Is there some way to programmatically remove the reference so
this behavior doesn't occur? If I keep going in and out of the application,
I can end up getting many, many instances of Access hanging around.
Thanks,
JF
..mdb file so I can use some of the latter mdb's functions.
The problem is, after leaving the main application, the referenced mdb
remains "open". That is, the ldb file still exists and if I go into the
Task Manager, the instance of MSACCESS.EXE is still alive.
Now, I've narrowed this problem down the specific instance where I load the
form that contains calls to the referenced mdb. So, I can open my main
application, move around in it all I want and then leave and everything is
fine (and the referenced mdb's lock file is generated and subsquently
deleted). However, the minute I open the form whose event procedures are
contained within the one module that contains calls from the referenced
mdb - when I leave my application, the problem occurs. Even if I don't call
any of the referenced mdb's functions!
I've tested this over and over again, and these results seem to be very
consistent. Is there some way to programmatically remove the reference so
this behavior doesn't occur? If I keep going in and out of the application,
I can end up getting many, many instances of Access hanging around.
Thanks,
JF