- Joined
- Nov 14, 2009
- Messages
- 4
- Reaction score
- 0
I am using the DoCmd. Close command to close a form. I need the form to close without saving. Essentially it will be a cancel button. The problem is that even though I have specificed acSaveNo, the entry is still saving. Has anyone seen this? Any thoughts? My code is below.
Sub Cancel_Click ()
'Cancel button for the spec form
DoCmd. Close asForm, "Project Spec Form", acSaveNo
End Sub
Thank you!
Mary Beth
Sub Cancel_Click ()
'Cancel button for the spec form
DoCmd. Close asForm, "Project Spec Form", acSaveNo
End Sub
Thank you!
Mary Beth