Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support

        
Join Tech Support Forum Today

Closed Thread
 
Thread Tools Search this Thread


Old 03-29-2012, 12:02 AM   #1
Registered Member
 
Join Date: Mar 2012
Posts: 1
OS: xp


access 2003 addquery counts deleted records

Every week I receive two queries which I import in access so i can put them together, do some filtering, counting, aggregating etc.

Because the imported tables have some relationships i chose to import into an existing table instead of creating a new one each time. Before I do this I remove all data.

However, when I ran an addquery, the sum of a field is much higher then when I add up all records myself. I thought I made a mistake so I deleted all data and imported the result again to have a fres set. When I ran the query again, the sum was even higher. Instead of calculating the sum i chose group by. Then I get to see the expected records. When I do sum again. The result is too high.

It appears as if the deleted records are still taken into account when I aggregate to a sum or count. Does anyone have some experience with this? I'd like to know what is happening an more than that, how to fix it?

__________________
degetrouwe is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
EXCEL 2003 problem for an expert never_clever Microsoft Office support 3 03-31-2012 04:20 AM
Have internet but cant access internet or play games Dunner4804 Networking Support 29 03-29-2012 07:58 PM
SBS 2003 to SBS 2011 migration and applications included? belnetsolutions Windows NT/2000/2003 Server/2008 Server 1 03-29-2012 08:50 AM
Computer connected but cannot access the internet Brown_Penny Cabling and Network Cards 2 03-29-2012 01:46 AM
Cisco ASA 5505 and no internet access help belnetsolutions Protocols and Routing 0 03-28-2012 05:10 PM

Post a Question




All times are GMT -7. The time now is 01:34 AM.


Copyright 2001 - 2012, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security