Results 1 to 2 of 2
  1. #1
    shod90 is offline Competent Performer
    Windows 8 Access 2016
    Join Date
    Jan 2016
    Posts
    134

    Problems with admin rights

    Dear gents,
    Um having 2 forms , the fist one is login form and the other is the main page , um trying to disable a button inside the second form if the user is regular user else which is the admin make it enabled.


    i made admin level as a check box , If the user is checked then his is admin .
    i also linked that check box in the main page form but hidden , But also didn't work

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    When the user starts the app, get his admin. Then enable items....

    Dm bIsAdmin as Boolean

    bIsAdmin = dlookup(). ' get rights here
    btnGo.enabled = bIsAdmin

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

Similar Threads

  1. I think I'm having Admin Problems
    By jackmackfack in forum Access
    Replies: 3
    Last Post: 04-28-2015, 04:30 PM
  2. Problems with network rights and Access
    By Wayne311 in forum Security
    Replies: 3
    Last Post: 09-07-2011, 06:00 PM
  3. one form fits all rights
    By sugar in forum Programming
    Replies: 4
    Last Post: 06-30-2009, 09:12 AM
  4. account rights
    By pietje in forum Security
    Replies: 1
    Last Post: 02-05-2009, 12:58 PM
  5. Admin Rights
    By Keri in forum Security
    Replies: 4
    Last Post: 11-18-2005, 11:18 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