create a 'SAVE' button that will commit changes & avoid the 'before update' event?
I appreciate Access by default commits changes on a form 'as they are made'. I have introduced some VBA, triggered by the 'before update' event which alerts the user that data on the form has changed, and asks whether to save or not.
However, this is a little cumbersome, as the user has to navigate to a different record/close the form etc. to trigger the event, to be able to save the record!
I would like to create a 'save' button that commits the changes on the form, but can't think how to avoid then triggering the 'before update' event. Perhaps I could use the save button click, to set a variable that will avoid the 'form has changed' prompt....
Any other ideas/suggestions much appreciated
Dale
Manchester, UK
I appreciate Access by default commits changes on a form 'as they are made'. I have introduced some VBA, triggered by the 'before update' event which alerts the user that data on the form has changed, and asks whether to save or not.
However, this is a little cumbersome, as the user has to navigate to a different record/close the form etc. to trigger the event, to be able to save the record!
I would like to create a 'save' button that commits the changes on the form, but can't think how to avoid then triggering the 'before update' event. Perhaps I could use the save button click, to set a variable that will avoid the 'form has changed' prompt....
Any other ideas/suggestions much appreciated
Dale
Manchester, UK