Click to See Complete Forum and Search --> : Undo an "Add New" action


August 20th, 1999, 07:32 AM
Hi:
this may be a very simple question. I´m using a command button to Add a new record to
a table. If I click the Add button and then I want to go to the previous record without saving the new
record, I get an error message. Something like "The action was cancelled by another ......".
Is it possible to cancel an AddNew action without saving the new record and go to the previous
record? Thanks.

freek
August 20th, 1999, 07:45 AM
Which command are you using?
have you tried me.undo?

Gary Grant
August 20th, 1999, 09:49 AM
I believe that the CancelUpdate method is what you are looking for.