Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7357 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi there: I am creating a storage locator database which takes users to a List Layout once they do a find, and then the individual Record Item (which has each field formated to not allow entry) layout via an invisible button, when they click on the line item. From the Record Item layout there is a button to Edit Record, which navigates to an Entry Form (which does allow field entry). I've created the script as follows to check Status(CurrentLayoutAccess) and to deny entry to those who don't have rights via access privileges to the Entry Form layout, but it's not working.

Set Error Capture [ On ]

If [ Status(CurrentLayoutAccess) = 0 ]

Show Message [ Buttons:

  • 4 months later...
Posted

I'm guessing here, but aren't you checking access after the fact? If you aren't already on the restricted layout then you can't check the access level. If you are already at that layout before you check, then a lack of access would leave the user on the layout you are trying to restrict.

Try this:

Set Error Capture [ On ]

Go to Layout [ Entry Form ]

If [ Status(CurrentLayoutAccess) = 0 ]

Show Message [ Buttons:

This topic is 7357 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.