M migrif Registered User. Local time Today, 14:33 Joined Jul 14, 2008 Messages 15 Jul 14, 2008 #1 I am looking to add a save button to a form, and following the save, open the form in a new record. Thanks in advance
I am looking to add a save button to a form, and following the save, open the form in a new record. Thanks in advance
pbaldy Wino Moderator Staff member Local time Today, 14:33 Joined Aug 30, 2003 Messages 36,157 Jul 14, 2008 #2 You can probably accomplish both with DoCmd.GoToRecord , , acNewRec
missinglinq AWF VIP Local time Today, 17:33 Joined Jun 20, 2003 Messages 6,417 Jul 14, 2008 #3 Actually, all you need to do is to move to a new record; when you do this Access will automatically save the current record! Code: Private Sub SaveAndNewRecord_Click() DoCmd.GoToRecord , , acNewRec End Sub
Actually, all you need to do is to move to a new record; when you do this Access will automatically save the current record! Code: Private Sub SaveAndNewRecord_Click() DoCmd.GoToRecord , , acNewRec End Sub
M migrif Registered User. Local time Today, 14:33 Joined Jul 14, 2008 Messages 15 Jul 14, 2008 #4 Thanks for the assistance, I feel pretty dumb now, as I knew that going to a new record saved the previous record. Thanks again!!
Thanks for the assistance, I feel pretty dumb now, as I knew that going to a new record saved the previous record. Thanks again!!