Cancel Addnew in forms (Access2000)

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

Guest

How to cancel the Addnew event and get back to normal mode?
Kindly help me, plzzzzzzzzzz. I would be much more thankful to the one who
helps me. THANK YOU SWEETHEART...
 
Perhaps a little less gushing gratefulness and a little more detail on the
code you're using and exactly what you're experiencing?
 
Dear Mac,

I'm developing an accounts maintaining software, in which if I want to
save (addnew) a new record I've to click a button, which allows me to type-in
the details. While working in this stage, if I doesn't want to save this
infomartion then I have to cancel the addnew event. So, how to cancel the
addnew mode?
 
I'm not sure about "cancel the addnew event" - never heard of an event by
that name in Access.
If you want to remove all the changes you've made to a record (for a new
record, this would be everything you've added) before you leave it, you can
use
Me.Undo

What else you need to do in the code behind this Cancel button would depend
on both what you did behind your AddNew button and whether you want to
require the user to click the AddNew button again before entering a
different new record.

I'd also question to what extent the AddNew record is a requirement "set in
stone".
If you teach your users to use the navigation buttons Access provides at the
bottom of the form, they'll not only know how to use your software, they'll
also know how to use other Access software when they see it. If you teach
them to use an AddNew button, they'll be stymied when they see another
Access application without one.

HTH
 
Back
Top