madman411 Posted February 15, 2013 Posted February 15, 2013 i have buttons on a "splash" layout that directs users to specific layouts. each user has their own set of permissions. some permissions prevent users from viewing certain layouts - however if they click a button to access that particular layout, the NO ACCESS greyed out screen appears, and the application needs re-starting to use. i have written a script to verify the permissions to prevent this, however I want to clarify what permissions can access the layout: If [get(accountprivilagesetname) = "[Full Access]" or "[Privilege Set A]"] go to layout... else exit script the first privilege set is recognized by filemaker and permits the user to go to the layout, however, if the user is logged in under the "[privilege set A]" privileges, the script exits as the ELSE function indicates. what is the best way to clarify more than one privilege set as it seems the OR function doesn't work?
bcooney Posted February 15, 2013 Posted February 15, 2013 If [get(accountprivilagesetname) = "[Full Access]" or get(accountprivilagesetname)="Privilege Set A" )
Steven H. Blackwell Posted February 15, 2013 Posted February 15, 2013 You might also look at the Get(LayoutAccess) and Get(RecordAccess) functions to assist you in managing what your users can do in the file. Steven 1
Recommended Posts
This topic is 4649 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now