2 Replies Latest reply on Dec 4, 2014 7:36 AM by JamesPeragine

    If Statement Not working properly

    JamesPeragine

      Title

      If Statement Not working properly

      Post

      I'm having trouble getting Filemaker to do a really simple thing.  I want users with [Full Access] privileges to be able to show the toolbar and all others to have it locked.  I set up a simple IF Statement to run when the page opens.

      IF Get (CurrentPrivilegeSetName)  =  "[Full Access]"

      Show/Hide Toolbars [Hide]

      else

      Show/Hide Toolbars [Hide;Lock]

      End IF

      This will keep the toolbar unlocked even if the user doesn't has Full Access.  I ever tried setting up two different If statements and no luck.  

      Any idea why this is happening??