In my MS Access application there is a data entry page. The expected hebaviour is user need to enter input and press "Save" button then record should be saved in the database. But the issue here is if the user enter any value and if the user exit from the application, also saving the result. In my form I have only 2 events, Save onclick and Exit onclick events. In save button I added some value assignment statement and in exit just exit (Docmd.close) from the application. When ever user click Exit or "X" from the form, then record get saved in database. I am not understanding what is the issue here.
I am using Identity key for the record indexing (Auto increment identity key) and form type is "Single Form".
Regards,
Selvakumar R