PC Review


Reply
Thread Tools Rate Thread

Disable Shift Open Feature

 
 
=?Utf-8?B?SlJfMDYwNjIwMDU=?=
Guest
Posts: n/a
 
      31st Jul 2007
There is a feature in Access which allows one to open a database and by pass
all modules, all macros and the startup options. All one has to do is hold
down the shift key when opening the database. Is there a way to disable this
feature?
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      31st Jul 2007
Create a database property named AllowBypassKey and set its value to False.

See http://www.mvps.org/access/general/gen0040.htm at "The Access Web" for
how to do this properly.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"JR_06062005" <(E-Mail Removed)> wrote in message
news:9859DA84-DBA7-4370-8601-(E-Mail Removed)...
> There is a feature in Access which allows one to open a database and by
> pass
> all modules, all macros and the startup options. All one has to do is
> hold
> down the shift key when opening the database. Is there a way to disable
> this
> feature?



 
Reply With Quote
 
=?Utf-8?B?U2hhbmlu?=
Guest
Posts: n/a
 
      19th Oct 2007
I have tried this but always get a compile error on the first function,
saying not defined. I tried the work around in another post about error
handling on 3265 instead and I still get the same compile error?

"Douglas J. Steele" wrote:

> Create a database property named AllowBypassKey and set its value to False.
>
> See http://www.mvps.org/access/general/gen0040.htm at "The Access Web" for
> how to do this properly.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "JR_06062005" <(E-Mail Removed)> wrote in message
> news:9859DA84-DBA7-4370-8601-(E-Mail Removed)...
> > There is a feature in Access which allows one to open a database and by
> > pass
> > all modules, all macros and the startup options. All one has to do is
> > hold
> > down the shift key when opening the database. Is there a way to disable
> > this
> > feature?

>
>
>

 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      19th Oct 2007
Assuming you copied everything between Code Start and Code End and pasted it
into a new module (not a class module, nor a module associated with either a
form or report), what did you name the module? Modules cannot have the same
name as routines contained within them.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Shanin" <(E-Mail Removed)> wrote in message
news:5D74A9D6-CC3A-4F0B-8CC2-(E-Mail Removed)...
>I have tried this but always get a compile error on the first function,
> saying not defined. I tried the work around in another post about error
> handling on 3265 instead and I still get the same compile error?
>
> "Douglas J. Steele" wrote:
>
>> Create a database property named AllowBypassKey and set its value to
>> False.
>>
>> See http://www.mvps.org/access/general/gen0040.htm at "The Access Web"
>> for
>> how to do this properly.
>>
>> --
>> Doug Steele, Microsoft Access MVP
>> http://I.Am/DougSteele
>> (no e-mails, please!)
>>
>>
>> "JR_06062005" <(E-Mail Removed)> wrote in message
>> news:9859DA84-DBA7-4370-8601-(E-Mail Removed)...
>> > There is a feature in Access which allows one to open a database and by
>> > pass
>> > all modules, all macros and the startup options. All one has to do is
>> > hold
>> > down the shift key when opening the database. Is there a way to
>> > disable
>> > this
>> > feature?

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?U2hhbmlu?=
Guest
Posts: n/a
 
      23rd Oct 2007
I figured out my own idioticy. I forgot to mark the reference for DAO 3.6.

"Douglas J. Steele" wrote:

> Assuming you copied everything between Code Start and Code End and pasted it
> into a new module (not a class module, nor a module associated with either a
> form or report), what did you name the module? Modules cannot have the same
> name as routines contained within them.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "Shanin" <(E-Mail Removed)> wrote in message
> news:5D74A9D6-CC3A-4F0B-8CC2-(E-Mail Removed)...
> >I have tried this but always get a compile error on the first function,
> > saying not defined. I tried the work around in another post about error
> > handling on 3265 instead and I still get the same compile error?
> >
> > "Douglas J. Steele" wrote:
> >
> >> Create a database property named AllowBypassKey and set its value to
> >> False.
> >>
> >> See http://www.mvps.org/access/general/gen0040.htm at "The Access Web"
> >> for
> >> how to do this properly.
> >>
> >> --
> >> Doug Steele, Microsoft Access MVP
> >> http://I.Am/DougSteele
> >> (no e-mails, please!)
> >>
> >>
> >> "JR_06062005" <(E-Mail Removed)> wrote in message
> >> news:9859DA84-DBA7-4370-8601-(E-Mail Removed)...
> >> > There is a feature in Access which allows one to open a database and by
> >> > pass
> >> > all modules, all macros and the startup options. All one has to do is
> >> > hold
> >> > down the shift key when opening the database. Is there a way to
> >> > disable
> >> > this
> >> > feature?
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I Disable Shift when open MDB? Teretete Microsoft Access 4 20th Mar 2006 11:23 PM
How to Disable Open With <Shift> ??? Stanly Microsoft Access 3 8th Feb 2006 07:41 PM
Shift on Open Disable and Workaround Mark S Microsoft Access Macros 3 2nd Sep 2004 10:12 AM
disable "Shift" enter feature 111 Microsoft Access Security 4 12th May 2004 03:38 AM
Disable The F11 or Shift Key On Open =?Utf-8?B?UnVzcw==?= Microsoft Access Form Coding 2 5th May 2004 11:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:25 AM.