dbTalk Databases Forums  

update sum

comp.database.ms-access comp.database.ms-access


Discuss update sum in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
someguy
 
Posts: n/a

Default update sum - 01-19-2005 , 11:22 PM






Hi,

I'm trying to update a row in a table. The value in this record must
be set to the sum of a column from another table. I can't seem to figure
this out, i keeps saying my query is not updateable. Any sugguestions.
Thanks in advance.

TIA

Reply With Quote
  #2  
Old   
Ira Solomon
 
Posts: n/a

Default Re: update sum - 01-20-2005 , 10:09 AM






Hi:
My guess is that you are trying to do this in one query.
You need 2.
Query A is the sumation query. Assume that the column you want is
named SumOfX.
Then query B is your update query.
There needs to be a link between the 2 queries.
You then update the column you need in B with SumOfX.

Good luck
Ira Solomon

On Wed, 19 Jan 2005 22:22:16 -0600, someguy <inderjitrai (AT) yahoo (DOT) com>
wrote:

Quote:
Hi,

I'm trying to update a row in a table. The value in this record must
be set to the sum of a column from another table. I can't seem to figure
this out, i keeps saying my query is not updateable. Any sugguestions.
Thanks in advance.

TIA


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.