Exit without saving changes in a form

M

msreal

Hi,

I have a form that starts with a new record when opened. On this form
have created a button that closes the form. When this button is presse
the data that has been entered is saved to a table. Can I also exit th
form without saving the changes? How can I accomplish this? Thanks i
advance!

Marc
 
R

R. Hicks

The best way is to use an unbound form ...
Then you will have full control over what is saved to the table.

To not save an uncommited record to the table .. you can use the Und
method.
See Access help files for more information on this method.

RD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top