Monday, January 24, 2022

Bypass startup options when you open a database

If you used a setting to specify what happens when you open a Microsoft Access database, you can bypass those settings to regain full access to your database. For example, you can set options for a Current Database from the Access Options dialog box, or by creating an AutoExec macro, or by an Open event procedure. If your database has a startup option setting, this article describes how to bypass it.

To bypass all startup options, complete the following step:

  • Hold down the SHIFT key while opening your database.

Depending on the macro security settings for your database, you might see one or more security messages on startup.

Note: You must continue to hold down the SHIFT key while you close all the security messages, or the startup options does not be bypassed.

When you open a database while holding down the SHIFT key, many of the options that are set on the Current Database page of the Access Options dialog box are bypassed. To change these options, do the following:

  1. Click the File tab, and then click Options

    The Access Options box opens.

  2. Click Current Database, and change the settings for the current database.

Note: You may need to close and reopen the database for the changes to be effective.

The following table lists each setting on the Current Database page and how they behave when you open the database while holding down the SHIFT key.

Option Group

Setting

Behavior when startup options are bypassed

Application Options

Application Title

The custom application title is not displayed.

Application Icon

The custom application icon is not displayed.

Display Form

The designated form is not displayed, and none of the form's event procedures are run.

Web Display Form

Is available only when a designated Web form is present. When available, the designated Web form is not displayed, and none of the form's event procedures are run.

Navigation

Display Navigation Pane

Even if this option is not selected, the Navigation Pane is displayed.

Ribbon and toolbar options

Ribbon Name

The designated custom Ribbon is not displayed.

Allow Full Menus

All default Ribbon tabs are displayed regardless of the setting.

Allow Default Shortcut Menus

All default shortcut menus are displayed regardless of the setting.

For more information on how to set options for the Current Database, see the article Set user options for a current database from a centralized location.

If you add an Access macro named AutoExec to a database, the macro usually runs every time that you open the database. When you bypass the startup options, the AutoExec macro does not run.

When your database has multiple users, you can prevent users from bypassing startup options. Disable the Bypass (SHIFT) key by using Visual Basic for Applications (VBA) code to set the AllowBypassKey property to False.

The AllowBypassKey property uses the following settings.

Setting

Description

True

Enable the SHIFT key to allow the user to bypass the startup properties and the AutoExec macro.

False

Disable the SHIFT key to prevent the user from bypassing the startup properties and the AutoExec macro.

You can set this property by using a macro or VBA code.

To set the AllowBypassKey property by using a macro, you must create the property in the following way:

  • In a Microsoft Access database (.mdb or .accdb), you can add the property by using the CreateProperty method and then appending it to the Properties collection of the Database object.

  • In a Microsoft Access project (.adp), you can add the property to the AccessObjectProperties collection of the CurrentProject object by using the Add method.

The AllowBypassKey property's setting doesn't take effect until the next time that the application database opens.

Top of Page

3 comments:

  1. HAVE YOU BEEN SCAMMED OF YOUR COINS AND WANTS TO GET IT RECOVERED BACK???

    I invested a total of$95,000.00USD worth of Bitcoin with an online company who does trading and was guaranteed a payout of 25% a week. They ended up shutting down their company website but their website was still running. So I could still see my dashboard at that time and instead of paying weekly they ended up compounding my money. It ended up compounding to$179, 000USD so I requested for a withdrawal which was declined before they shutdown their website, I complained to my colleague at work who directed me about this recovery expert, Mr. Morris Ray, that helped him, I contacted him immediately, what surprised me most, was that I recovered my money that same week. You can contact him on his email at MorrisGray830 @ Gmail . com and on WhatsApp: + 1 (607) 698-0239 and he will assist you on the steps to recover your invested funds.
    Just trying to help those who where scammed just the way I was too.

    ReplyDelete
  2. I never thought it was possible to recover stolen cryptocurrency due to my past experience trying to recover $228k that was stolen from my usdt w.a.l.l.e.t; until I read an article on this webpage www.thedailychargeback.com , I summited all documents needed to carryout the recovery operation, they successfully recover $205k from what I lost, I advice anyone having problems with lost or stolen cryptocurrency issues to reach to them.

    ReplyDelete
  3. Are you looking for a legit loan? Have you been refused by your banks? You need money for one reason or another.You are sincere and honest(2%) contact us For immediate response (Whats App) number:+917310847059 sumitihomelend@gmail.com Mr. Sumiti

    ReplyDelete