Hi all,
To add/manage customers in my database I have made a (main) form with 5 sub forms in it. What I would like to do is to make a "save" button on the main form. Whatever is added (new) or edited (existing) in the main form AND/OR in the subform(s) should only be written to the actual tables after the button on the main form is pressed. If users add or edit fields and close the form without saving, nothing should change the actual data.
I've been Googling for a while now and so far I've only come up with a code to bind to an event like loosing focus. This code gives me an annoying pop-up with a YES and NO button, but even worse is I have to use to code for the main form and every individual sub form. When I only use the code for the main form to get the pop-up only once, users can still mess around with the fields of the sub forms without having to press a button to confirm their additions or changes.
How would I create such a button which affects both the main form and all 5 five sub forms?
Thanks!