Hello
I've written a query, and get the following error when I try to execute it:
This is the SQL code that is identical to other queries that work. The only difference is the LineMargin element:
TRANSFORM Sum(qry_202_SalesMargin.LineMargin) AS SumOfLineMargin
SELECT qry_202_SalesMargin.STOCK_CODE, qry_202_SalesMargin.ACCOUNT_REF, qry_202_SalesMargin.Description
FROM qry_202_SalesMargin
GROUP BY qry_202_SalesMargin.STOCK_CODE, qry_202_SalesMargin.ACCOUNT_REF, qry_202_SalesMargin.Description
PIVOT Format([INVOICE_DATE],"yyyy-mm");
This is my first post in the forum. ANy ideas would be appreciated.
Thistle