I have a form that has the ‘data entry’ property set to yes. It is bound to a table. When I start filling in the form it automatically saves it. I do not want this to happen. I only want the form to save to the table when I press a button. Any easy way to do this? w/o vba. If i can only do this with vba let me know how to do it that what.
Share
The best way to do this is with an unbound form. When the user clicks save, you can run a query to update your table from the controls.
Using a recordset
If you wanted to update a record where you already knew the primary key, you could say:
Using a query that you have created in the query design window
SQL for the query
VBA
This will give a warning
This will not
You could also use dynamic SQL or a query with parameters that you assign in code.