Hi
I am currently developing a sales tracking database. As part of the reporting function I need to generate a graph showing number of sales, cumulative sales etc for various time periods (week, month, quarter, year).
What with the current state of the economy it is just possible
D) that no sales would take place at all in a particular time period. At the moment my query just misses out that time period completely - but I need it to show zero. How do I do this?
Current SQL below:
Thanks
I am currently developing a sales tracking database. As part of the reporting function I need to generate a graph showing number of sales, cumulative sales etc for various time periods (week, month, quarter, year).
What with the current state of the economy it is just possible
Current SQL below:
Code:
SELECT Last(qryRunningQuery.Edate) AS LastOfEdate, Format([Edate],"mmm-yy") AS y, Last(qryRunningQuery.RunningPrice) AS LastOfRunningPrice
FROM qryRunningQuery
GROUP BY Format([Edate],"mmm-yy")
ORDER BY Last(qryRunningQuery.Edate);
Thanks