UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Update Query to accumulate Totals    
 
   
MLimmer
post Nov 10 2004, 05:39 PM
Post #1

New Member
Posts: 1



I am trying to accumulate (Sum) a number field in a table from many records in another table. I am trying to create a update query to udate one record in Table 2 with the accumulated records from Table 1.

Table 1 has three records.
Voter count = 10
Voter count = 5
Voter count = 20

Table 2 has one record.
Voter Count = 25

I am unable to figure out how to do this. Can anyone help?

Thanks.

MLimmer
Go to the top of the page
 
+
erwardell
post Nov 10 2004, 08:40 PM
Post #2

VIP Emeritus
Posts: 1,340



Can you give the table structure of both tables and what kind of query you have so far?
Go to the top of the page
 
+
erwardell
post Nov 11 2004, 12:51 PM
Post #3

VIP Emeritus
Posts: 1,340



I was just rereading your question. Why do you need to store calculated sum in another table. Normally you should not do this, because it uses up space and you can always run the calculation to get the answer at anytime in any form, report, and query.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 20th May 2013 - 06:54 AM