January 10, 200620 yr 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
January 10, 200620 yr 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
January 10, 200620 yr Author 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
January 11, 200620 yr Hi manar this is an example that answers your question. It uses "privilege Set". You can take this as a starting point. LockRecords.zip
March 22, 200619 yr 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
Create an account or sign in to comment