I have a client that has an individual form for table maintenance and an individual for for table additions. Right now the addition form has a button to click to "Add Record". This button does this in the "onclick" event:
DoCmd.RunCommand acCmdSaveRecord
DoCmd.Close
The client wants to have a button that will add the record but keep the data on the form and make changes to a couple of fields and then add another record until he is ready to close the form. The form does have many fields and he didn't want the screen to clear after the add.
Would it be best to have the "onclick" event save the screen data to variables then after the DoCmd.RunCommand acCmdSaveRecord is performed to re-populate the fields with the saved variables and let him continue? Is there a simpler way? I know I would need to remove the DoCmd.Close but just wondering if I'm making this harder that I should.
Thanks!!!!