Call a script when the file opens.
If [ Get ( PrivilegeSetName ) = "Other" ]
Go to Layout [ "Other" ]
Go to Layout [ "Default" ]End If
Thank you so much.
I'm trying to do this exact same thing, but when I enter this script, I'm getting the following error: "This parameter is an invalid Get function parameter." Any suggestions?
You are probably using filemaker 10 or older. If so, use Get ( PrivilegeSet ) and make sure your script is NOT set to run with full access privileges. (Check box in bottom left of script editor window.)
I got this to work. I was trying use Get (PrivilegeSetName), but realized with the correct Get parameter is Get( AccountPrivilegeSetName)