View Full Version : Append query...Appending EXPONENTIALLY ??!??


Ethereal
01-24-2006, 05:52 AM
Ok so I am making an application which requires me to add a record.. ok fine, but then i also need a cancell option, which would delete the record... np, BUT if the user cancells, I don't want my Auto number increasing... So I am writing to a temporary table which mirrors the original one, and then if the user clicks cancell, i delete the temporary record... If the user clicks "save" then i want to Append that new record to my original Table and then delete the record... HOWEVER, when i appended this record the first time it added 2 identical records to the original table, Then 4 the next time, Then 8, 16, 32 , etc etc I'm not quite sure how I did this but i hope its a common problem that somebody has maybe done themselves and will be able to help me out...

Attached is a Skeleton with the original Table, and the Temporary Table, along with the same query currently i have some data entered, When you attempt to add another record to the temp table , and then run the append query, it will add 8 identical records... TRY IT! and then HELP ME!! please!

Jon K
01-24-2006, 06:21 AM
Open the query in SQL View and delete the tSample table from the FROM clause to make it read as:

FROM tSampleTemp;
.

Ethereal
01-24-2006, 06:27 AM
Thank you Jon K! Works great :D