Results 1 to 2 of 2
  1. #1
    krc9127 is offline Novice
    Windows 11 Access 2007
    Join Date
    Jul 2023
    Posts
    26

    Visible Button


    Is there a way if a user has a certain level of access for them to not even see a button on a form?

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Fairly easy to do with vba code. If you have or expect to have several controls to hide, it is common to use the Tag property for those controls, loop over the controls, find those that have your tag value and hide them. If only one or two, probably simpler to just code them individually. This is a common topic and you should be able to find lots of code examples that you can pick from. You just need to decide how to determine that someone should or should not see controls. That can be a DLookup on a user table that also contains the user permissions level in another field.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. [Help] Button Visible
    By Jon1092 in forum Programming
    Replies: 8
    Last Post: 04-26-2020, 04:31 PM
  2. Replies: 5
    Last Post: 08-14-2017, 02:19 AM
  3. make fields visible onclick() button
    By rivereridanus in forum Programming
    Replies: 4
    Last Post: 06-25-2012, 11:08 PM
  4. Replies: 2
    Last Post: 01-06-2011, 04:38 AM
  5. Replies: 1
    Last Post: 09-27-2010, 04:27 AM

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