Setting Global Options at runtime

K

Ken Schwartz

There are two global options that I want to set when my Access 2000
application launches: "Default Open Mode for Databases" and
"ShowWindowsInTaskbar". It would be easy to do this in the Form_Open event
of the Switchboard using the .GetOption() and .SetOption() methods of the
Application Object. But as is always the case, I have a few powerusers that
bypass the Switchboard by holding down the shift key after entering thier
username/password. So is it possible to run a piece a code(user defined
function, macro...) regardless of what the user does at startup. And as a
second part of this, I want to be able to run a second function/macro... when
the application closes to reset the global options back to what they were at
startup.

I
 

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.

Ask a Question

Top