S
Stefan
Hello,
I've got a SubForm (S2) in another SubForm (S1).
Now the problem. If I change data in S2 and I click outside this SubForm I
want to restore the old values back.
The following code does not work:
Private Sub S2_Exit(Cancel As Integer)
Cancel = True
Me.S2.Form.Undo
End Sub
A second solution was to 'Lock' all the other subforms but as soon I leave
S2 the new data become stored.
What do I wrong.
Stefan
I've got a SubForm (S2) in another SubForm (S1).
Now the problem. If I change data in S2 and I click outside this SubForm I
want to restore the old values back.
The following code does not work:
Private Sub S2_Exit(Cancel As Integer)
Cancel = True
Me.S2.Form.Undo
End Sub
A second solution was to 'Lock' all the other subforms but as soon I leave
S2 the new data become stored.
What do I wrong.
Stefan