I have a database/form with thousands of employee records, which will be used by a number of novice users to update/edit and lock records. I want to improve the form to make it easier for them to use. There are two main issues I am having difficulties in:
1)Many of my users have difficulties with saving/cancelling changes to records. E.g. sometimes users amend about 15/20 fields but then realise they have entered incorrect data for that record! At the moment I don’t have an option to cancel changes.
I have added two command buttons ("update" and "cancel") on my form. This should make it easier for users; giving them the option to either update or cancel changes for the current record. However, I am having difficulty in writing the code for this – the “update” button should have code to save changes and the “cancel” button should have code to discard changes
I would be very grateful if anyone could “help/Guide” me with the code for this plzzz.
2) I also want to have an option to lock a particular record (i.e. if an employee leaves, I want to lock their record so that the data can only be viewed but no further changes can be made to it. I know how to lock fields - but that will lock the fields for all records! I want to have an option to only lock certain records. I think I need a tick box on my form to achieve this. But again, unfortunately, I’m having difficult of writing the code for this!
Once again, any feedback would be greatly appreciated.
Thanks a lot,
Kind regards,
Amber
1)Many of my users have difficulties with saving/cancelling changes to records. E.g. sometimes users amend about 15/20 fields but then realise they have entered incorrect data for that record! At the moment I don’t have an option to cancel changes.
I have added two command buttons ("update" and "cancel") on my form. This should make it easier for users; giving them the option to either update or cancel changes for the current record. However, I am having difficulty in writing the code for this – the “update” button should have code to save changes and the “cancel” button should have code to discard changes
I would be very grateful if anyone could “help/Guide” me with the code for this plzzz.
2) I also want to have an option to lock a particular record (i.e. if an employee leaves, I want to lock their record so that the data can only be viewed but no further changes can be made to it. I know how to lock fields - but that will lock the fields for all records! I want to have an option to only lock certain records. I think I need a tick box on my form to achieve this. But again, unfortunately, I’m having difficult of writing the code for this!
Once again, any feedback would be greatly appreciated.
Thanks a lot,
Kind regards,
Amber