B
Bill B.
I am trying to run the query below and I keep getting the error message
The syntax of the sub query in this expression is incorrect. Check the
subquery's syntax and enclose the subquery in parentheses.
SELECT Sum([2003 Count]) as 2003 Total FROM (SELECT Count(claims.claim_id)
AS [2003 Count], claims.[Date of Injury], claims.Department
FROM claims
GROUP BY claims.[Date of Injury], claims.Department
HAVING (((claims.[Date of Injury]) Between #1/1/2003# And #1/1/2004#) AND
((claims.Department)="114511"))) as sub;
I can't find the syntax error TIA. Bill
The syntax of the sub query in this expression is incorrect. Check the
subquery's syntax and enclose the subquery in parentheses.
SELECT Sum([2003 Count]) as 2003 Total FROM (SELECT Count(claims.claim_id)
AS [2003 Count], claims.[Date of Injury], claims.Department
FROM claims
GROUP BY claims.[Date of Injury], claims.Department
HAVING (((claims.[Date of Injury]) Between #1/1/2003# And #1/1/2004#) AND
((claims.Department)="114511"))) as sub;
I can't find the syntax error TIA. Bill