G
Guest
I have a form with a subform, and the form has two buttons, one to undo
changes on the form, another to undo changes on the subform. Both buttons
are on the main form because the subform is in datasheet view.
The two buttons work OK except in the following scenario: I'm in the
subform and my subform record is so messed up that I want to click the undo
button for the subform, which is on the main form. However the before update
event on the subform record finds a problem, and won't let me go to the
button. The users are accustomed to an undo button, and they don't want to
train them on the escape key.
Is there any event prior to the before update event where I can detect that
I'm going to the undo button on the main form, and therfore bypass the before
update event?
changes on the form, another to undo changes on the subform. Both buttons
are on the main form because the subform is in datasheet view.
The two buttons work OK except in the following scenario: I'm in the
subform and my subform record is so messed up that I want to click the undo
button for the subform, which is on the main form. However the before update
event on the subform record finds a problem, and won't let me go to the
button. The users are accustomed to an undo button, and they don't want to
train them on the escape key.
Is there any event prior to the before update event where I can detect that
I'm going to the undo button on the main form, and therfore bypass the before
update event?