cterrell16 Posted May 31, 2012 Posted May 31, 2012 Is there a way to make a script that will stop data from being changed in a record. I want to be able to assign a number to a record then lock everything from being changed.
No_access Posted May 31, 2012 Posted May 31, 2012 you can use validate by calculation to keep the field locked, this requires a extra field thats not on the layout to use as the "lock" field and you can use "not isempty(lockfield)" as the validation. use a script to toggle the lockfield..
mr_vodka Posted May 31, 2012 Posted May 31, 2012 See here. http://fmforums.com/forum/topic/83768-locking-records/page__p__387606__#entry387606
cterrell16 Posted May 31, 2012 Author Posted May 31, 2012 I don't follow. I tried the link also but I don't see where it actually does what I need. I'd like to have all my data typed into the cells and then it a button to lock all cells from further modification.
mr_vodka Posted June 1, 2012 Posted June 1, 2012 Did you see the modified demo? Use the Admin user/password and look under Mange Security for the 'User Access' privilege set. What you need to to allow access when the flag field is not set. Once the flag field is set those who are in the 'User Access' privilege set should not be allowed to modify the record. Of course you want some kind of admin privilege set to have access so that they can unlock it if need be.
Recommended Posts
This topic is 4558 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