Solved

Access 2007 DB creating the same entry over and over on append

Posted on 2011-09-29
3
200 Views
Last Modified: 2012-05-17
Lets see if I can word this right.
We have a simple form that a user adds a customers name, order number etc and clicks save which appends a very simple access database.
The first entry was tested and when looking at the table it created 2 records exactly the same.
The next time we tried it created like 16 entries.
You see where I am going here.
We currently just found (when it blew up) that it had over a billion records with really only 22 actual entries.
Anyone ever see anything like this?
The only thing that is different about the database is that we used the built in encryption feature in access.
0
Comment
Question by:edwarddoylesr
  • 2
3 Comments
 
LVL 44

Expert Comment

by:GRayL
ID: 36816202
Can you post the query that the form is bound to?
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 36816295
Yes, looks like either the query is "Multiplying" the values on each iteration...

Or you inadvertently created an  "Accumulator" in your Append procedure.

Like GRayL, I would like to see the details on this 'Append' system

Can I also ask why you don't simply use a bound form to add records?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37982149
So were you really inadvertently creating a "accumulator"?

Stating the actual fix you used would make the thread more valuable to other members searching here for the same issue...

;-)

JeffCoachman
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now