In the Immediate window (Ctrl+G):
dbEngine(0)(0).Properties("AllowBypassKey") = True
If this is to change the property for a different databas, see help on
OpenDatabase() in place of dbEngine(0)(0)
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
derrick said:
searching for code to activate allowbypasskey that deactivates the shift
key