H
HeartSA
I have a query that counts occurrences, I created a report based on that
query. When I try to create a totals in the footer section, I get an #Error
message.
Here is the query in SQL form
SELECT StaffCount.Location, StaffCount.[Staff Count], Submitted.Submitted,
Resolved.Resolved, Active.Active
FROM Active RIGHT JOIN (Resolved INNER JOIN (Submitted INNER JOIN StaffCount
ON Submitted.Location = StaffCount.Location) ON Resolved.Location =
StaffCount.Location) ON Active.Location = StaffCount.Location
GROUP BY StaffCount.Location, StaffCount.[Staff Count], Submitted.Submitted,
Resolved.Resolved, Active.Active;
I use all the fields in the select statement above on the report. The query
is called "Joined Query".
I am attempting to total Submitted, Resolved and Active.
Syntax I tried in the text box
=Sum([Submitted].[Submitted])
=Sum([Submitted])
=Sum([Joined Query].[Submitted])
I get the #Error on all of these. Any help is much appreciated.
query. When I try to create a totals in the footer section, I get an #Error
message.
Here is the query in SQL form
SELECT StaffCount.Location, StaffCount.[Staff Count], Submitted.Submitted,
Resolved.Resolved, Active.Active
FROM Active RIGHT JOIN (Resolved INNER JOIN (Submitted INNER JOIN StaffCount
ON Submitted.Location = StaffCount.Location) ON Resolved.Location =
StaffCount.Location) ON Active.Location = StaffCount.Location
GROUP BY StaffCount.Location, StaffCount.[Staff Count], Submitted.Submitted,
Resolved.Resolved, Active.Active;
I use all the fields in the select statement above on the report. The query
is called "Joined Query".
I am attempting to total Submitted, Resolved and Active.
Syntax I tried in the text box
=Sum([Submitted].[Submitted])
=Sum([Submitted])
=Sum([Joined Query].[Submitted])
I get the #Error on all of these. Any help is much appreciated.