Solved

Creating a New Recording a DAO Database from a form

Posted on 2014-01-28
2
383 Views
Last Modified: 2014-01-28
I want to add a new record to a DAO recordset by entering info in a form. The form is based on the DAO recordset. Should I create the record first (using .AddNew and .Update), then open the form? Or open the form, allow the operator to enter the data, then use .AddNew and .Update?  Kind of like the old question "Which comes first: the chicken or the egg?".
0
Comment
Question by:SowleMan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Accepted Solution

by:
Dale Fye earned 100 total points
ID: 39815422
Why are you not simply using a bound form?

When you bind a form to your table, the updates/additions you create are automatically saved.
0
 

Author Closing Comment

by:SowleMan
ID: 39815458
I don't use ACCESS/VBA a lot. I failed to think of a form's ability to add a new record and save it. A "new guy" mistake. Thanks. I used your suggestion and (obviously), it was successful.  Thanks.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question