Рет қаралды 27,310
Disable the AllowBypassKey Property
Sometimes we, as developers, want certain code to execute at application startup. Holding the shift-key during application startup will prevent all code from running, macros and VBA. Microsoft provides a hidden database property that allows us to prevent the shift-key from preventing our startup code from running. They do not provide a way to set this value from the Access user interface, you can only set this value using VBA.
In this video we will:
1. Interrogate the value of the AllowBypassKey property
2. If the AllowBypassKey does not exist, we will create it
3. We will also set the value of the AllowBypassKey property
The VBA in this video can be found here:
accessjitsu.com...
All of my videos organized by topic and other blog topics:
accessjitsu.com/