L
Leslie Coover
I have Query1 with the following relationships:
tblA has 1 to many relationships with tblB and tblC based on Field XA
This is a Total query with several By Group and Sum fields
I need the sum of XZ in tblC. The only wasy I could figure out how to do
this is create a separate query (Query2)
SELECT tblC.XA, Sum(tblC.XZ) AS SumOfXZ
FROM tblC
GROUP BY tblC.XA
then include it in Query1 as:
Field = SumOfXA
Table = Query2
Total = Group By
To make a long story short there are many XAs in tblC that have to be summed
but Query1 is allready set up by Group By XA in tblA
Is there a better way?
tblA has 1 to many relationships with tblB and tblC based on Field XA
This is a Total query with several By Group and Sum fields
I need the sum of XZ in tblC. The only wasy I could figure out how to do
this is create a separate query (Query2)
SELECT tblC.XA, Sum(tblC.XZ) AS SumOfXZ
FROM tblC
GROUP BY tblC.XA
then include it in Query1 as:
Field = SumOfXA
Table = Query2
Total = Group By
To make a long story short there are many XAs in tblC that have to be summed
but Query1 is allready set up by Group By XA in tblA
Is there a better way?