Opening an MS-Access database from the command line without running any of the startup vba code?

前端 未结 2 1096
长情又很酷
长情又很酷 2020-12-21 05:48

Is there a way to open an MS-Access 2003 database from the command line without running any of the startup vba code or displaying any errors?

I looked at the command

2条回答
  •  囚心锁ツ
    2020-12-21 06:14

    Technically, yes there is a way to open an MS-Access 2003 database from the command line without running any of the startup macros, although it does not involve the command line arguments: If you hold down the Shift key while the database opens, it will not run the AutoExec script (and suppresses a few other things). This also assumes the AllowBypassKey property has not been set to False.

    See Ignore startup options

提交回复
热议问题