Results 1 to 7 of 7
  1. #1
    eMassroua is offline Novice
    Windows 10 Access 2021
    Join Date
    May 2023
    Posts
    2

    Microsoft access Tabs permissions

    Hello all
    I need your help to add permissions or password to some Pages into ( Tab Control ) in Microsoft access forms
    Last edited by eMassroua; 05-24-2023 at 02:05 AM.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    TABS of what - Navigation Form, Tab Control, Tabbed Documents?
    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
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    If on a tab control you need to use its Change event:
    https://learn.microsoft.com/en-us/of...control.change
    Here are a few links that come up when I googled for "access vba tab control change password":
    http://msaccess.erpmakers.com/Articl...cess%20vba.php
    http://www.databasedev.co.uk/tab-control.html
    https://www.access-programmers.co.uk...g-tabs.249067/
    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  4. #4
    eMassroua is offline Novice
    Windows 10 Access 2021
    Join Date
    May 2023
    Posts
    2
    Hi,

    Tab Control

  5. #5
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Office 365
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,977
    For a different approach, if your users have to login to your database, it is a simple matter to assign permission levels to each user.
    You can then use these to control which tabs are displayed on your forms for each level. No passwords needed.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  6. #6
    Edgar is online now Competent Performer
    Windows 8 Access 2016
    Join Date
    Dec 2022
    Posts
    274
    If it's absolutely vital that some people can't view that information, then don't use MS Access for that. Imagine saving the credit card info of your clients in an Access database with a lot of users, that would be the stuff of nightmares, money is enough incentive to google how to break into an access database which has a tab control protected by a password from VBA. In fact, one of your users can come to one of these forums and ask how to remove a password from a tab control, someone will be willing to help and that credit card info will be exposed.

    With that aside, just create a form that pops up when a user tries to change from a normal tab page to a protected tab page.

  7. #7
    davegri's Avatar
    davegri is online now Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,412
    FWIW, tab control pages have a visible property that can be changed via VBA depending on the current user.

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

Similar Threads

  1. Replies: 5
    Last Post: 06-02-2022, 03:39 PM
  2. Replies: 1
    Last Post: 09-14-2021, 10:03 AM
  3. Replies: 2
    Last Post: 01-15-2018, 07:46 PM
  4. Replies: 13
    Last Post: 10-06-2015, 09:12 AM
  5. Replies: 1
    Last Post: 09-13-2011, 01:52 PM

Tags for this Thread

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