Cancelling a new record

  • Thread starter Thread starter Roger
  • Start date Start date
R

Roger

I have a form with my own navigation buttons on it,
including a "New Record" button, instead of the included
ones. When the "New Record" button is clicked, I'm
disabling the others and enabling a "Cancel" and "Save"
buttons. I'm having trouble coding the "Cancel" button
because I want it to completely remove the new record
regardless whether any data was entered in any of the
fields.

I can probably come up with a long way of doing it, but
I'm hoping there is a simple 1 or 2 command procedure.

Thanks
 
I can probably come up with a long way of doing it, but
I'm hoping there is a simple 1 or 2 command procedure.

Me.Undo will erase all user input on the current record.
 
Back
Top