Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-29
3
Medium Priority
?
210 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
[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
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 1500 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

610 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