snackcakes101 Posted April 1, 2003 Share Posted April 1, 2003 Hi! I have a db for my traffic department. One user has all creation and editing rights (not scripts and layouts). When she clicks the "Create New Job" button, my script adds a new job into the system and creates a new job number. Once that job number is created, I don't want the user to be able to accidentally modify this field. If I give her 'read only' rights for that field, the script to add the new job number doesn't work (field is not modifiable). If I uncheck "allow entry in field" and approach it that way, she cannot do a search on job numbers, which is the most common search needed in her dept. Is there a way to tell the system to allow modification for creation, but then lock it? Jobs are only created in the "Job Number Log" layout, but searches are done in at least 3 other layouts. Thanks so much! Link to comment Share on other sites More sharing options...
BobWeaver Posted April 1, 2003 Share Posted April 1, 2003 Create a calculated field: cJob_Number = Job_Number and put cJob_Number on the layout and allow entry. It can then be searched, but not modified. Link to comment Share on other sites More sharing options...
danjacoby Posted April 1, 2003 Share Posted April 1, 2003 Create a calc field that equals the job number field, and put it under the job number field. Then, when she does a find, she'll actually be entering find data in the calc field. Oh yeah -- uncheck "allow entry..." in the actual job number field, and remove it from the tab order. Link to comment Share on other sites More sharing options...
snackcakes101 Posted April 1, 2003 Author Share Posted April 1, 2003 Thanks, guys! I tend to grasp the complicated steps but sometimes miss the obvious. Keeping it simple, Debi Link to comment Share on other sites More sharing options...
danjacoby Posted April 1, 2003 Share Posted April 1, 2003 BobWeaver -- you get credit for slipping in ahead of me (just barely ahead of me). Timing is everything. Link to comment Share on other sites More sharing options...
BobWeaver Posted April 2, 2003 Share Posted April 2, 2003 Ha! Fastest mouse finger in the west! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7860 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