CoolFactor
Technical User
I receive the following error when try to run this query:
You tried to execute a query that does not include the specified expression <name> as part of an aggregate function. (Error 3122)
You tried to execute a query that does not include the specified expression as part of an aggregate function or grouping.
Possible cause:
You did not enter an aggregate function in the TRANSFORM statement.
Here the SQL code that I'm using for this query.
SELECT Sum(qry_DepositsbyQuarter.[Deposits/Receipts]) AS [SumOfDeposits/Receipts]
FROM qry_DepositsbyQuarter
GROUP BY qry_DepositsbyQuarter.Year, qry_DepositsbyQuarter.Expr1
HAVING (((qry_DepositsbyQuarter.Year)=[Forms]![frm_Deposits by Quarter Menu]![List0]) AND ((qry_DepositsbyQuarter.Expr1)=[Forms]![frm_Deposits by Quarter Menu]![List2]));
You tried to execute a query that does not include the specified expression <name> as part of an aggregate function. (Error 3122)
You tried to execute a query that does not include the specified expression as part of an aggregate function or grouping.
Possible cause:
You did not enter an aggregate function in the TRANSFORM statement.
Here the SQL code that I'm using for this query.
SELECT Sum(qry_DepositsbyQuarter.[Deposits/Receipts]) AS [SumOfDeposits/Receipts]
FROM qry_DepositsbyQuarter
GROUP BY qry_DepositsbyQuarter.Year, qry_DepositsbyQuarter.Expr1
HAVING (((qry_DepositsbyQuarter.Year)=[Forms]![frm_Deposits by Quarter Menu]![List0]) AND ((qry_DepositsbyQuarter.Expr1)=[Forms]![frm_Deposits by Quarter Menu]![List2]));