Results 1 to 4 of 4
  1. #1
    ETCallHome is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Mar 2011
    Location
    Limpopo, South Africa
    Posts
    48

    Access DB Lock Out

    Hi,

    I have not been here for sometime now, but just had a blond moment and locked myself out of my database. I know there must be a way to get back into the DB with some programming code in another database, and if anyone can help me with the code I would really appreciate it.

    What Happen? - I created a login form, where a user enters the login details. It was working fine and I loaded the login form as the form to open when access starts. Each time I open the DB I can see access 2007 popping up before the login form shows, also the background appears. I was trying to get rid of the background and the access 2007 start screen. I just wanted the login form to show. I then changed the following controls:

    Allow Add... = No
    Allow Del... = No
    Allow Edits = No
    Allow Filters = No
    Data Entry = No

    I saved the form and THEN...

    When I started the DB, it do not do the required results and it would not allow me to enter the user details to login... all this said, I cannot access the db to change.

    SOmetime back I result some DAO process where you can access another database and not the current one. I would like to do similar code to reset the password on the useraccess table so when I start my data base it will access a blank password..



    Any Help is much appreciated.

    Regards
    Earl

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Can you open the db while holding down a <SHIFT> key?

  3. #3
    ETCallHome is offline Advanced Beginner
    Windows 7 64bit Access 2007
    Join Date
    Mar 2011
    Location
    Limpopo, South Africa
    Posts
    48
    Thanks... It Worked. I still have so much to learn. I have been creating a developers userid and then using code to determine the access level, if developer, then Allow ToolBars, statusbar, etc. Otherwise only show the form and let the users do their thing and loggoff when they are done.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    That's great! Thanks for posting back with your success.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Exclusive access/DB lock
    By Boru in forum Access
    Replies: 18
    Last Post: 07-28-2014, 01:38 AM
  2. How to TRULY lock access to tables
    By is49460 in forum Security
    Replies: 20
    Last Post: 02-01-2013, 03:41 PM
  3. make the access file lock
    By naggappan in forum Security
    Replies: 1
    Last Post: 03-21-2011, 07:06 PM
  4. lock a record
    By Nokia N93 in forum Programming
    Replies: 3
    Last Post: 02-21-2011, 02:51 PM
  5. Lock Down
    By KevinMCB in forum Forms
    Replies: 2
    Last Post: 02-14-2011, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums