B
bpan007
I have a crosstab query which sums up all manufacture's sales QTY. The
query is as follows:
=========================================
TRANSFORM Sum( sales_rpt_history.Total_Cases) AS SumOfTotal_Cases
SELECT sales_rpt_history.MFR_Name, Sum( sales_rpt_history.Total_Cases) AS
[Total Of Total_Cases]
FROM sales_rpt_history, Max_date, Min_Date_12
WHERE (((
sales_rpt_history.Deliver_date)>[Min_Date_12].[MinOfMinOfDeliver_date] And
( sales_rpt_history.Deliver_date)<[Max_date].[maxdate])
GROUP BY BPAN007_sales_rpt_history.MFR_Name
ORDER BY Format([deliver_date]," mmm")
PIVOT Format([deliver_date]," mmm") In
("001","002","003","004","005","006","007","008","009","010","011","012");
query is as follows:
=========================================
TRANSFORM Sum( sales_rpt_history.Total_Cases) AS SumOfTotal_Cases
SELECT sales_rpt_history.MFR_Name, Sum( sales_rpt_history.Total_Cases) AS
[Total Of Total_Cases]
FROM sales_rpt_history, Max_date, Min_Date_12
WHERE (((
sales_rpt_history.Deliver_date)>[Min_Date_12].[MinOfMinOfDeliver_date] And
( sales_rpt_history.Deliver_date)<[Max_date].[maxdate])
GROUP BY BPAN007_sales_rpt_history.MFR_Name
ORDER BY Format([deliver_date]," mmm")
PIVOT Format([deliver_date]," mmm") In
("001","002","003","004","005","006","007","008","009","010","011","012");