I have a form with a subform in it where users make necessary updates to fields as they need to. I have a Save and Cancel button where necessary so that users can save the changes they make to the record as they go along, but they don't always remember to click one or the other. I am trying to add in some code to check to see if any changes have been made on the Sub-Form before the user can go to the next record in the main form. By the way, the main only displays a single record at a time.
Currently, I have tried to place some code in the On Exit and Lost Focus events for the Mainform, but they don't bring up any of the msgbox's I have in the code. Is there a specific event that would be best for this?![]()