vbaprogammer
Programmer
Brain dead? Senior Moment?<br><br>I have searched and read all variations of the methods suggested in this forum (which is the best I've found 'cause you guys are so smart) to prevent saving a record until a command button (Save) is clicked.<br><br>I have tried Cancel, Cycle Current Record, and all sorts of things. Too many errors to describe here.<br><br>Mats and Jim Horton made suggestions on April 14, but I was unable to convert their text descriptions to action.<br><br>I have three forms. One with a subform. I have a registrant for people and a subform for answers. At times the registrant info may change, and at times just the subform info changes. I would like to a) save the registrant info, save the answer info, or save both, but not until the user clicks the appropriate command buttons. The third form is registrants only, for batch entry of new registrants (this should have been simple).<br><br>The following has been suggested: BeforeUpdate, public variable, public variable set to false until click event (Cancel = ?), cycle current record (which has no effect), as well as others.<br><br>I can't seem to get all the pieces together in the proper order for the BeforeUpdate method. I really need a good example.<br><br>Am I correct that moving from record to record saves the data AND moving from field to field saves the data? My answer form has 40 fields just for answers. How do I prevent them from saving until all data is input. If a record is not COMPLETE, my report calculations are toast.<br><br>Would really appreciate some help. You all have been so helpful, just by answering questions for others, upon which I have eavesdropped.<br><br>Thanks<br><br>Dan