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
 
Top