Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

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

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
valmatic
Asked:
valmatic
  • 5
  • 3
  • 3
  • +1
3 Solutions
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
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
 
valmaticAuthor Commented:
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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Is this Access 2007+? If so, make sure that your database is running in a Trusted Location.
0
 
valmaticAuthor Commented:
I have a test area on my C: drive.  I added it to trusted locations and still no luck.
0
 
valmaticAuthor Commented:
Sorry - yes access 2010
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
"Tool does not work on a password locked DB. '
You mean because of the secured.mdw file ?
0
 
valmaticAuthor Commented:
Hi Joe,  yes-exactly.
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
I suspect you can modify Albert's (open) code to include the UserName and Password ...
0
 
MacroShadowCommented:
The Bypass Shift Key Utility by Rick Hicks will work also on a db that has a database level password.
0
 
valmaticAuthor Commented:
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
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

  • 5
  • 3
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now