Jimjmn Posted August 11, 2010 Share Posted August 11, 2010 I have a DB that has a button on a layout that enables the user to lock/unlock a record. I am executing this by having the button change a field call "lock" from 1 to 0 and in custom privileges the user is locked out if the field contains "0." The problem is that I have portals on the same layout and I'm unable to lock them out. How might I go about this? I know that I could lock these fields from the custom privileges but I would also like to be able to lock these fields on their own layout as well. Link to comment Share on other sites More sharing options...
Matthew F Posted August 12, 2010 Share Posted August 12, 2010 Did you consider having the lock button switch to an identical layout on which the fields are set to not allow data entry? Link to comment Share on other sites More sharing options...
Jimjmn Posted August 12, 2010 Author Share Posted August 12, 2010 I know of this option but is there no other way? Link to comment Share on other sites More sharing options...
Steven H. Blackwell Posted August 13, 2010 Share Posted August 13, 2010 Script must set the lock field in the related records to 0 as well. Make sure users cannot reverse this action by tampering with the lock field. Steven Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5028 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