May 6, 200421 yr 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:
September 30, 200421 yr 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:
Create an account or sign in to comment