mtwildtrout
Technical User
I have a Main & Subform as a data entry form. An Exit button is on the Subform. If the user enters partial information in the form (main or subform) then chooses to close the form, the partial information is saved.
I don't want any information saved if the Exit button or "X" close is clicked. I understand that this is the standard way Access handles the data. However, if I want to make sure none of this partial data gets into a table, how do I prevent it with code? I have thought about letting Access do its thing then delete the record after Access posts it to the table but I'm not exactly sure how & when to do it with code. Does anyone have any suggestions?
I don't want any information saved if the Exit button or "X" close is clicked. I understand that this is the standard way Access handles the data. However, if I want to make sure none of this partial data gets into a table, how do I prevent it with code? I have thought about letting Access do its thing then delete the record after Access posts it to the table but I'm not exactly sure how & when to do it with code. Does anyone have any suggestions?