Close Form Without Saving Record

A

Anne

This should be easy, but I'm having a big old block (it's
too nice outside today).

Tried: docmd.close,,acSaveNo, but of course this closes
the form without saving design changes.

Thanks in advance for your assistance to the "brain-
already-on-vacation".
 
A

Allen Browne

Undo the form if it is dirty:

If Me.Dirty Then
Me.Undo
End If
DoCmd.Close acForm, Me.Name
 
Top