G
gmazza via AccessMonster.com
Hey there,
I check for some validation after an update(s) is made to the form. If the
validation fails, I want to do undo the change(s) made. However, if the user
either closes the form, OR navigates to the next record, its not working
because I have a subform come up for validation, when they cancel out or the
vaildation fails for them, it errors on Undo because the form is either
closed so there is nothing to undo, thus saving the changes in the table
which is what I don't want, OR it navigates to the next record and again the
Undo errors and again the changes are saved.
I tried the Before Update and After Update on the form to call my validation
subform, either doesn't work.
I need to get back to the record they changed when validation fails, or they
cancel out, and Undo it.
Thanks!
I check for some validation after an update(s) is made to the form. If the
validation fails, I want to do undo the change(s) made. However, if the user
either closes the form, OR navigates to the next record, its not working
because I have a subform come up for validation, when they cancel out or the
vaildation fails for them, it errors on Undo because the form is either
closed so there is nothing to undo, thus saving the changes in the table
which is what I don't want, OR it navigates to the next record and again the
Undo errors and again the changes are saved.
I tried the Before Update and After Update on the form to call my validation
subform, either doesn't work.
I need to get back to the record they changed when validation fails, or they
cancel out, and Undo it.
Thanks!