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

how to save data entry on button click only

P: 65
Hello,

I would like to make a data entry form that does not save values until "save" is clicked. This is because sometimes the form may be opened by accident and it automatically creates a blank entry. I have read that this should be done in the before update event of the form. Would this be easier to do if the form were unbound? I am just looking for any suggestions to the easiest solution.

Thanks for your time on this newb question
Nov 28 '06 #1
Share this Question
Share on Google+
1 Reply


NeoPa
Expert Mod 15k+
P: 31,616
I would think that unbound controls would be required.
OnClick of the Save button you have a choice.
1. Execute an INSERT INTO query for the record on the form.
2. Write some ADODB or DAO code to add the record.
Nov 28 '06 #2

Post your reply

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