How to Stop saving on close or exit

K

KRISH

Hi!,
please help me how to stop saving record on close of exit of my form.
thanks
KRISH
 
A

Allen Browne

Cancel the BeforeUpdate event of the *form*.

That's the only way to catch it before the record is saved, regardless of
how that is triggered, e.g. closing the form, applying a filter, changing
the sort order, moving to another record, closing Access, reassigning
RecordSource, pressing Shift+Enter, saving through the menu, etc, etc.
 
Top