Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Denied

Status
Not open for further replies.

tcoyle777

Programmer
May 8, 2007
34
0
0
US
I want to know how to allow the user to go back to the last page or a home page if they go to a layout that they don't have access to.
 
Hey,

You could lock down the layout - so that they can only get to it from a button (essentially taking it off the list of layouts in the list in the status area). Then, in the button, put this in (or something like it):

IF [Get(PrivilegeSetName) = "YouDontHaveAccess"]
Go to Layout("OtherLayout"
End If

That should do it!

HTH,

Doc Tree
 
it does not seem to prevent the FileMaker Access Denied screen to show up before the script runs for some reason.
 
AHHH Got it!!! had my end if in the wrong spot.

thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top