Jimjmn Posted August 10, 2010 Share Posted August 10, 2010 I have created a DB with a button on it that changes the state of a field (lock) from 1 to 0 (1 being default). In Custom Record Privileges I set up the edit column to be "limited" so that whenever the field (lock) is not 0 the record is editable. All of this works but where the issue lies is that when I click the button and it changes the field (lock) from 1 to 0 and so forth the access to the record is not immediately changed until I click somewhere else on the layout. Is there a setting that will correct this behavior? Link to comment Share on other sites More sharing options...
efen Posted August 10, 2010 Share Posted August 10, 2010 Add a commit records step to the end of the script on the button Link to comment Share on other sites More sharing options...
Jimjmn Posted August 10, 2010 Author Share Posted August 10, 2010 Efen...thanks so very much!!! One more question: Is there a way to add a custom dialog when the end user tries to input on a field that access has not been granted? Link to comment Share on other sites More sharing options...
efen Posted August 10, 2010 Share Posted August 10, 2010 I don't think so - the user is warned by a standard message that the record cannot be amended Link to comment Share on other sites More sharing options...
Steven H. Blackwell Posted August 13, 2010 Share Posted August 13, 2010 Put a triggered script based on OnKeystroke to trigger the message. 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