By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,847 Members | 2,153 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,847 IT Pros & Developers. It's quick & easy.

save record and next record in one button

P: 92
Hi
How can i put save record and next record in one button.
in my save record i put the calculation of the text boxes. i have a total field that the sum of the other field is in there and it wil be filled when i push the save button. and the sum will go and save in a table. but now the new requirment is that i put save record and next record in one button to be easier for the user.
i was using the next record seperately.
thanks for the help.
Feb 27 '07 #1
Share this Question
Share on Google+
2 Replies


ADezii
Expert 5K+
P: 8,616
Hi
How can i put save record and next record in one button.
in my save record i put the calculation of the text boxes. i have a total field that the sum of the other field is in there and it wil be filled when i push the save button. and the sum will go and save in a table. but now the new requirment is that i put save record and next record in one button to be easier for the user.
i was using the next record seperately.
thanks for the help.
Expand|Select|Wrap|Line Numbers
  1. 'Save the Record
  2. DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
  3. 'SendKeys "+{ENTER}", True  'will work also
  4.  
  5. 'Go to the Next Record. If on the Last Record,
  6. 'will Add a Record
  7. DoCmd.GoToRecord , , acNext
Feb 27 '07 #2

P: 92
thanks alot
Feb 27 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.