Ok, that works only if Access is physically open on my computer. I was hoping, that this would also log out any other users that may be logged into the database from another computer or application.
I've created a program with VB that uses SQL to get and display data from the database onto a grid. Problem is that when the program is running, it is as if someone has opened Access and when the user tries to upload data from an Excel file to the database, the data simply does not get uploaded.
What I really want is for all the users to be logged out of the database, before the upload from Excel takes place.