subform undo

K

KT

hello,
how can i undo the changes in the subform?
i have the code like below, but it doesn't work

Private Sub undo_Click()
Me.undo
Form_MySubform.undo
End Sub

thanks in advance :)
 
S

Stefan Hoffmann

hi,
how can i undo the changes in the subform?
i have the code like below, but it doesn't work
It can't work, because Access is saving the changes automatically when
the subform looses the focus. This happens when pressing your undo
button on the main form.
Private Sub undo_Click()
Me.undo
Form_MySubform.undo
End Sub


mfG
--> stefan <--
 
Top