database window

  • Thread starter Thread starter sharan
  • Start date Start date
S

sharan

My Question is how do I make the database window invisible and do not allow
the user to use shift key to open the database. Saw the following answers to
my question.

1)Set the database's AllowBypassKey property to No.

2)In Access 2000/2002, make sure that Show Windows in Taskbar is also turned
off. There's a bug that can display the database window if you miss this.

How do I implement the above 1 and 2 ???

Thanks.
Sharan.
 
AllowBypassKey Property
You can use the AllowBypassKey property to specify
whether or not the SHIFT key is enabled for bypassing the
startup properties and the AutoExec macro. For example,
you can set the AllowBypassKey property to False to
prevent a user from bypassing the startup properties and
the AutoExec macro.

Setting
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 Visual
Basic.

To set the AllowBypassKey property by using a macro or
Visual Basic, you must create the property in the
following ways:

In a Microsoft Access database (.mdb), you can add it by
using the CreateProperty method and append it to the
Properties collection of the Database object.
You should make sure the AllowBypassKey property is set
to True when debugging an application.

This property's setting doesn't take effect until the
next time the application database opens.
 
Back
Top