Andre,
Strange!! Oh well. You can create a desktop shortcut. I assume you know how
to do that, so I won't bother with the procedure, but once you have a
shortcut to the database, right-click it and select Properties from the
context menu.
To the left of the database path in the Target field, add the path to
msaccess.exe. Be sure to enclose the entire path in quotes. Then to the
right of the database path, add the following:
/excl
Make sure there's a space between each entry. The entire string would look
something like this:
"c:\Program Files\Microsoft Office\Office 11\msaccess.exe"
"z:\somefolder\mydb.mdb" /excl
You can check the online help for all the available command-line switches,
by entering "command line" in the search box.
Another option may be to modify the code found at
http://support.microsoft.com/default.aspx?kbid=285822 to check if more than
one user is logged into the database, and if so, issue Application.Quit.
Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia