The SHIFT key

A

Anthony

Is there a way to make access ignore the recognition of holding down the
SHIFT key while access loads a database?
 
A

Alp Bekisoglu

From the menu in access:
Tools > Startup...
then click Advanced>>, and uncheck Use Access Special Keys

Alp
 
A

Anthony

that doesn't work

there's no "Advanced" button or menu

and I uncheck "Use Access Special keys" and I'm still able to bypass startup
things by holding down the SHIFT key.

please help
 
A

Anthony

(I could not find property: "AllowBypassKey", but I did find
"AllowSpecialKeys")

So should the code look like this?

Sub mySub()

Dim db As Database
Set db = CurrentDb
db.Properties("AllowSpecialKeys") = False
set db = Nothing

End Sub
 
D

Douglas J. Steele

The AllowBypassKey property doesn't exist unless you create it.

Use the code from http://www.mvps.org/access/general/gen0040.htm at "The
Access Web". Copy that code into a new module, then run the following from
the Immediate Window (Ctrl-G):

ChangePropertyDdl "AllowBypassKey", dbBoolean, True

It's not even necessary to save the code. I'd advise keeping a copy of the
database that you don't do this to, though, just in case something goes
wrong...
 
A

Anthony

that still doesn't work.

I pasted the code into a new module, and execuited the line:

ChangePropertyDdl "AllowBypassKey", dbBoolean, false

but I'm still able to use the SHIFT key and bypass startup items.

Please help - thanks
 
A

Anthony

nevermind i got it working, thank you

Anthony said:
that still doesn't work.

I pasted the code into a new module, and execuited the line:

ChangePropertyDdl "AllowBypassKey", dbBoolean, false

but I'm still able to use the SHIFT key and bypass startup items.

Please help - thanks
 

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