tirtza Posted March 26, 2003 Posted March 26, 2003 Once data has been entered in a field, I would like to restrict entry into this field except for one specific person. How can I do this? I am aware that I can write a script that checks the user and permits edit based on who it is but how do make the script run when they enter into the field?
falkaholic Posted March 26, 2003 Posted March 26, 2003 Use field validations. In the define fields, open the Options for the field, then click the validation tab. Then use the 'validate by calculation' checkbox. Then have a calculation like this: if( Status(currentGroupName)="Allowed guy", 1, 0)
tirtza Posted March 26, 2003 Author Posted March 26, 2003 thanks- that would work if i only wanted "allowed guy" to enter data into the field, however, I want anyone to be able to enter data into the field and then once something is entered only "allowed guy" can edit it. any ideas?
djgogi Posted March 27, 2003 Posted March 27, 2003 Disallow entry into field and attach the script to it if( Status(currentGroupName)="Allowed guy" or isEmpty(theField)) Go To Field [theField] end if Dj
Newbies EddyR Posted March 27, 2003 Newbies Posted March 27, 2003 A way to allow for conditional modifications is to have a second field with an auto-enter value of the first field. Field1, field 2: auto-enter = field1. Then you could allow for modifications only if field1 = field2 or Status(CurrentMode) = 1 or user =...
Fitch Posted March 27, 2003 Posted March 27, 2003 How to attach a script to a field: First, create your script. Then, in layout mode, select the field, then choose Format - Button..., click Perform Script, and choose your script from the list.
Recommended Posts
This topic is 7916 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