Closing a Bound Form without Saving to the underlying table?

I

Iain

Is it possible to close a form with fields bound to a table, without saving
any data that is in the fields on the Form?

I've tried using acSaveNo but the data still gets saved.
 
A

Arvin Meyer [MVP]

You can undo the form. Code is:

Me.Undo
Me.Undo

I do it twice to make sure that, it is done (and not being confused with
undoing the last control)

You will still lose any autonumber that has been used.
 

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