Jana Posted May 6, 2004 Posted May 6, 2004 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:
VFXdbGuy Posted September 30, 2004 Posted September 30, 2004 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:
Recommended Posts
This topic is 7709 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