I have a form with 30+ bound controls (text boxes, combo boxes, etc.). Right now, when the user presses the Save Record or Main Menu buttons, the record is saved as is, with no chance for the user to Undo the changes he/she has made. When the User presses either of those buttons, I’d like a popup form to appear, asking the user first if he/she would like to Undo or Save the current changes. I’ve created the popup form with Undo, Save, and Cancel buttons. I’m OK with the Save and Cancel buttons. However, I’m not sure how to create the Undo functionality. I know I’d use the OldValue function, but where? How? Do I have to create OldValue code for each of the controls on my form? Or can this be done using an iterative loop?
Any guidance would be appreciated. Thanks for your help.