Solved

Shift bypass not working on most recent version of DB - works on older versions

Posted on 2014-09-03
12
254 Views
Last Modified: 2014-09-04
Hi.  When I open the most recent version of my database, only the switchboard is displayed - shift bypass does not work and I cannot edit the database.

  I've created a secured database and have included a login form to allow shift-bypass.  The form requires user credentials and includes a password protected button to enabled/disable shift bypass.  Lately I've just left the bypass enabled as most of my users don't know about the shift key.  I've never had a problem until recently so i'm not sure if it's related to the bypass code or not.  Older versions of the database open fine in edit mode and the navigation page is available.  I've also tried enabling/disabling the shift bypass on the older versions and that works as intended as well.

How can I open this version of my database to edit objects?  This version is about a month old now so I can't even recreate from an older version at this point without losing current data.  

I've attached screen shots of my login layers and code...  login-database.docx
thanks
0
Comment
Question by:valmatic
  • 5
  • 3
  • 3
  • +1
12 Comments
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 200 total points
ID: 40301678
It looks like your login form has a button where you can disable/enable the Shift key bypass, so why not just use that? The code shows that you would need to enter the value of "password" in the prompt, and you should then be able to restart the database with the shift key held down, and get to the navigation pane.
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 200 total points
ID: 40301687
Here is another version by Access MVP Albert Kallal that works in all versions of Access.

The link below contains an MDB which allows you to 'set' and 'reset' the Shift Key Bypass from a REMOTE mdb.  
It's very cool. Scroll down the page to 'By Pass Shift Key Code'

http://www.kallal.ca/msaccess/msaccess.html
0
 
LVL 7

Author Comment

by:valmatic
ID: 40301762
Hi Scott.  I tried that and it did not work.  I tried it on an older version of the database though and I can disable and re-enable the shift key and it works fine and I can see\edit my db objects.  Will not work with this version though.  Otherwise the database works fine - just can't edit anything..    I'm really wondering if the bypass is the issue?  

I did try the bypass tool Joe offered as well.  Tool does not work on a password locked DB.  I'm hoping I don't have to use an older version and track down all of the changes to bring it up to date.  yuck...
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 84
ID: 40301774
Is this Access 2007+? If so, make sure that your database is running in a Trusted Location.
0
 
LVL 7

Author Comment

by:valmatic
ID: 40301912
I have a test area on my C: drive.  I added it to trusted locations and still no luck.
0
 
LVL 7

Author Comment

by:valmatic
ID: 40301914
Sorry - yes access 2010
0
 
LVL 75
ID: 40301929
"Tool does not work on a password locked DB. '
You mean because of the secured.mdw file ?
0
 
LVL 7

Author Comment

by:valmatic
ID: 40301948
Hi Joe,  yes-exactly.
0
 
LVL 75
ID: 40301956
I suspect you can modify Albert's (open) code to include the UserName and Password ...
0
 
LVL 27

Assisted Solution

by:MacroShadow
MacroShadow earned 100 total points
ID: 40302127
The Bypass Shift Key Utility by Rick Hicks will work also on a db that has a database level password.
0
 
LVL 7

Author Closing Comment

by:valmatic
ID: 40302250
I'm sorry all.  I wrote this this so long ago and didn't really think this through today.  My multiple layers of access to get into the database also means I have multiple layers of bypass built in.  No idea why I thought all of that was necessary but it made sense at the time.  I rechecked my login forms and found the correct override button.  I'm giving you all points for wasting your time.  Very much appreciated though.  
 
Sort of funny:  When Scott told me to just use my bypass code I had written in I was thinking " Come on; I'm not a complete idiot..."  WRONG!!!

thanks all...
0
 
LVL 84
ID: 40303194
Sort of funny:  When Scott told me to just use my bypass code I had written in I was thinking " Come on; I'm not a complete idiot..."  WRONG!!!
LOL ... that happens to me almost daily so don't feel like the Lone Ranger on that one. Glad you got it fixed.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question