H
Helen
Hello,
I need to create a cross tab query that can group my data by week. The
wizard can do it by Year, by Quarter, by Month etc. but not by Week. Maybe
it's not possible? My week "starts" on Mondays.
Currently the Column Heading is: "Qtr " & Format([OrderDate],"q")
The SQL code is:
TRANSFORM Sum(qry_totals.MOrderQty) AS SumOfMOrderQty
SELECT qry_totals.MStockCode, Sum(qry_totals.MOrderQty) AS [Total Of
MOrderQty]
FROM qry_totals
GROUP BY qry_totals.MStockCode
PIVOT "Qtr " & Format([OrderDate],"q");
Any suggestions?
Thanks in advance.
Helen
I need to create a cross tab query that can group my data by week. The
wizard can do it by Year, by Quarter, by Month etc. but not by Week. Maybe
it's not possible? My week "starts" on Mondays.
Currently the Column Heading is: "Qtr " & Format([OrderDate],"q")
The SQL code is:
TRANSFORM Sum(qry_totals.MOrderQty) AS SumOfMOrderQty
SELECT qry_totals.MStockCode, Sum(qry_totals.MOrderQty) AS [Total Of
MOrderQty]
FROM qry_totals
GROUP BY qry_totals.MStockCode
PIVOT "Qtr " & Format([OrderDate],"q");
Any suggestions?
Thanks in advance.
Helen