Results 1 to 4 of 4
  1. #1
    NISMOJim is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Posts
    273

    protect a database

    I have created a database in Access 2007, and would like some help on how to go about protecting it. I have 4 or 5 people that need to be allowed to enter & make changes to the records, and a bunch more that should just be able to look at the records, but can't make any changes. I don't have a way to break the database down so just the front ends are on some machines like I've heard suggested. Any help would be appreciated.



    Thanks,
    Jim

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    You will need a table of users and then identify the user either by login/password or pull their network ID. Then based on the user ID manage what they can do. Review this for starters: http://forums.aspfree.com/microsoft-...7t-406737.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    NISMOJim is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Jul 2010
    Posts
    273
    I checked out your link & came up with a simple solution if anyone wants to use it. I added a textbox on the main menu to act as a password. I also changed the "Locked" property of the fields on the forms that I don't want just anyone to edit to Yes. In the "On Open" property of the form, I added code that says if the textbox on the main menu equals "the correct password", then field.Locked = False. It may be a bit time consuming adding all the code if someone has a lot of forms with a lot of fields, but it is working out perfectly for me so far.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Yes, can be time-consuming but that is basically the only way to manage accessibility to specific elements of forms. Glad it serves your requirement.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. password protect form
    By nkuebelbeck in forum Forms
    Replies: 2
    Last Post: 01-15-2012, 01:02 PM
  2. Protect from Delete
    By brobb56 in forum Security
    Replies: 2
    Last Post: 10-11-2011, 04:58 PM
  3. Password Protect Forms
    By jlclark4 in forum Security
    Replies: 3
    Last Post: 01-25-2011, 04:26 PM
  4. P/W Protect & Open Database Using VBA
    By DrGlenn in forum Programming
    Replies: 1
    Last Post: 08-06-2010, 08:08 PM
  5. Password Protect Forms
    By Robert M in forum Programming
    Replies: 3
    Last Post: 01-15-2010, 01:50 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