Another method is to issue your app as an mde (rather than an mdb) -
from the menu Tools | Database Utilities | Make MDE File... Then
holding the Shift key will have no effect.
BUT Make sure you keep a copy of the MDB to future development!!
I'm not interested in disabling the shift key. All I want to know is how it
was opened. This would allow me execute one of two queried depending on how
the mdb was opened.
Sorry, there's no way to tell with vba code inside the db.
Chris
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.