I am trying to undo changes to a subform's record (not delete the record just undo the changes). I have a button on the mainform called Undo my code behind it is as follows:
Private Sub UndoButton_Click()
Me.Undo
Me.sfmOrderDetailsSTATUSCONTROL.Form.Undo
End Sub
sfmOrderDetailsSTATUSCONTROL is the subform control name
When I click the button I would like both changes in the main form and subform to be cancelled.
Thanks for the help
Bob
Private Sub UndoButton_Click()
Me.Undo
Me.sfmOrderDetailsSTATUSCONTROL.Form.Undo
End Sub
sfmOrderDetailsSTATUSCONTROL is the subform control name
When I click the button I would like both changes in the main form and subform to be cancelled.
Thanks for the help
Bob