manar Posted January 10, 2006 Posted January 10, 2006 how i can make a script, that after entering data of all fields in a record , the fields locks and becoming nonmodifecable and new record started
Inky Phil Posted January 10, 2006 Posted January 10, 2006 The simple answer would be to have a button with a script attached to it that checks for any empty fields, exiting the script with an appropriate message if it finds the record to be incomplete. Finally the script would add a new record. This will display a new blank set of fields (new record) and so your last record will in fact not be modifiable at that stage cos you can't see it. You will of course have to strictly control the users navigation so that they can never get to a layout that allows them to modify any field other than during data entry. You could also create a field 'locked' and set it to 'x' within the script but I cannot see the point in doing that if ALL the records are to be locked as your question suggested. That then begs the question 'Are you sure you want to lock ALL your records under all circumstances?' Phil
manar Posted January 10, 2006 Author Posted January 10, 2006 what u said it sounds good, but how to do it, i don't know how to write the script and other steps to do, and i want to lock all fields after data entry, so it can't be modified later needs help
Raybaudi Posted January 11, 2006 Posted January 11, 2006 Hi manar this is an example that answers your question. It uses "privilege Set". You can take this as a starting point. LockRecords.zip
manar Posted January 11, 2006 Author Posted January 11, 2006 thank u Mr Raybaudi , u r a life saver and problem solver
Joseph31 Posted March 22, 2006 Posted March 22, 2006 I can not get into the Script to see how this works so I may do something like this also... any help would be great
Recommended Posts
This topic is 6824 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