Solved

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

Posted on 2011-09-29
3
201 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

911 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

14 Experts available now in Live!

Get 1:1 Help Now