Re: Update query.
- From: smartin <smartin108@xxxxxxxxx>
- Date: Thu, 24 Jul 2008 19:47:14 -0400
jfaz wrote:
I am going round in circles with this and would be grateful for any help offered. It may be a case that I am missing something quite simple but phrase wood and trees comes to mind!!!!!!!!!!!!!!!!!!!!!!!!!
I have a table TblJobTotals with the following fields.
Job Number, Trade (both these fields together make up the primary key), Original hours, variation hours, completed hours original, completed hours variation.
I need to populate this table with summary information from two additional tables TblOriginal and TblVariation.
I have created queries over each of the tables grouping by job number and trade and sum of hours.
I need to pass these summary totals to my TblJobTotals but am unsure how to do it.
How can I create an update query which will drop the totals into the relevant record based on job number and trade?
JS's advice is well heeded, just an additional thought...
It sounds like you have a working query to get the information you need. Why not just use this query to further your analysis/populate your report/ or whatever the destination is for this data? By using a query, you will always get current data. If TblJobTotals feeds some other report or whatnot, you can substitute your working query very easily.
.
- Prev by Date: Re: Recognizing Concurrent Users
- Next by Date: Re: MSACCESS 97 APPLICATION ERROR CONVERTING FROM TEXT TO MEMO
- Previous by thread: Re: Update query.
- Next by thread: Re: Delete Last Months Data From Table
- Index(es):
Relevant Pages
|