I want to be able to close one access database by using another. I did have some code that involved the "GetObject("FilePathName") command, and it worked but of course I didn't save it and I managed to lose it 
What I'm looking for is a code that when I have it attached to a button on a form it will close another (specific) database that is currently open at the same time and not error out if the database to be closed is for some reason not open. Any ideas?
JB

What I'm looking for is a code that when I have it attached to a button on a form it will close another (specific) database that is currently open at the same time and not error out if the database to be closed is for some reason not open. Any ideas?
JB