OldSlowDog
Programmer
I am having problems in using Access 2000 ADP to show a graph on a form. I tried to show a bar graph of daily sales for two stores for a selected month.
The Sales2StoreGraph_sp query that I am using is:
SELECT
CONVERT(char(10), BusinessDate, 101) as BDate,
ROUND StoreASales as A,
ROUND StoreBSales as B
FROM DailySales_tbl
WHERE (StoreID = 5 or StoreID = 11)
AND (Month(BusinessDate) = 4)
AND (Year(BusinessDate) = 2009)
ORDER BY BDate
This is what I did:
1.Insert an Microsoft Graph Chart Object in the form
2.Change the Chart Type to Cluster column.
3.Open up the Properties and change “Row Source Type” to Table/view/StoredProc and “Row Source” to Sales2StoreGraph_sp
The result is not what I expected. I expect to see 31 days on the X-axis and 2 bar graphs for each day for Store A and Store B.
Did I miss anything? Please help.
The Sales2StoreGraph_sp query that I am using is:
SELECT
CONVERT(char(10), BusinessDate, 101) as BDate,
ROUND StoreASales as A,
ROUND StoreBSales as B
FROM DailySales_tbl
WHERE (StoreID = 5 or StoreID = 11)
AND (Month(BusinessDate) = 4)
AND (Year(BusinessDate) = 2009)
ORDER BY BDate
This is what I did:
1.Insert an Microsoft Graph Chart Object in the form
2.Change the Chart Type to Cluster column.
3.Open up the Properties and change “Row Source Type” to Table/view/StoredProc and “Row Source” to Sales2StoreGraph_sp
The result is not what I expected. I expect to see 31 days on the X-axis and 2 bar graphs for each day for Store A and Store B.
Did I miss anything? Please help.