I am trying to write a function which will close the currently active database and open another one. I can get another database open, but can't seem to close the original one.
I have "snipped" a portion of a complete module I use to open up another session of Access and close the currebnt section (under certain circumstances).
You could try this if you like.
I also ensure that if the current session is running under "runtime" version that the "new" session is also opened up in "runtime". Again you may have to play with it a bit.
' ------------------------------------
Dim Path2AccessEXE As String
Dim RunText as String
Dim Result As Variant
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.