Hi, I tried to make a continuous form. I made a cancel button to close the form and to undo every change that has been made. It works for my single form with this:
Private Sub CMD_BACKTOMAIN_Click()
Me.Undo
DoCmd.Close acForm, "FRM_PURCHASING ORDER", acSaveNo
DoCmd.OpenForm "MAIN FORM"
End Sub
But when I use it for a continuous form, It's not working.
Can anyone help?
Private Sub CMD_BACKTOMAIN_Click()
Me.Undo
DoCmd.Close acForm, "FRM_PURCHASING ORDER", acSaveNo
DoCmd.OpenForm "MAIN FORM"
End Sub
But when I use it for a continuous form, It's not working.
Can anyone help?