Aborting Record Entry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The form I have writes to a table.
Here's what I need to do:
1. Before moving to the next record within the form have the option to abort
the data entered to the record therefore restoring the old data.

OR

2. Have a button to abort the data from getting written to the record and
restoring the old data.

What I have noticed is that when a mistake is made writing data to a record,
unless the previous data for said record is re-written manually, the new data
gets written even if I try aborting the form. I did find a fix from a
previous post that gives the option to abort form entry. There is an example
of how to do it here:

http://support.microsoft.com/?kbid=248011

Although this is a solution, I am getting complains from users of the form
that this will abort writing good data entered in other records. So, the
granularity of the abort needs to be done at the record. And, yes I've tried
telling them to simply abort out of the form once they see a mistake in the
record, then re-enter the form. But,... they insist that this is not the way
they want it to work.

I am new at this... so please if you have a solution, I will need great
detail on how to accomplish this or a link that points to the details of the
solution.
Thanks ... and "peace be with you"...
 
The article you posted is probably more involved that what you really need.
You can create an Undo command button using the command button wizard.
Select record operations, undo record. Or you can create your own command
button and in the click event, put Me.Undo. the Undo method returns the
record to its pre-edited state.
 
Back
Top