Z
ZenMasta
Using access 2002 I made a query in design view that lists all orders for a
certain item over a few years. There are only 3 relevant columns although
others were used to get this info:
order number, quantity, date
I'm interested in knowing the steps to alter this query so it sums up each
month. Ultimately I want a report that shows a bar chart with the quantity
sold per month (and maybe show the number of orders too)
Here's my current query I made in design view
SELECT tblOrderHdr.InvoiceNo, tblOrderDetails.Quantity, tblInventory.ISBN_B,
tblOrderHdr.UserID, tblOrderHdr.OrderDate
FROM (tblOrderHdr INNER JOIN tblOrderDetails ON tblOrderHdr.OrderHdrID =
tblOrderDetails.odOrderHdrID) INNER JOIN tblInventory ON
tblOrderDetails.odInvID = tblInventory.InvID
WHERE (((tblInventory.ISBN_B)="15706") AND ((tblOrderHdr.UserID) Is Not
Null) AND ((tblOrderHdr.OrderDate) Between #1/1/2000# And #12/8/2009#));
If this can be done in a report instead of exporting and me making the bar
chart in excel that would be cool but I can't use microsoft object web
components reference because it breaks my app.
certain item over a few years. There are only 3 relevant columns although
others were used to get this info:
order number, quantity, date
I'm interested in knowing the steps to alter this query so it sums up each
month. Ultimately I want a report that shows a bar chart with the quantity
sold per month (and maybe show the number of orders too)
Here's my current query I made in design view
SELECT tblOrderHdr.InvoiceNo, tblOrderDetails.Quantity, tblInventory.ISBN_B,
tblOrderHdr.UserID, tblOrderHdr.OrderDate
FROM (tblOrderHdr INNER JOIN tblOrderDetails ON tblOrderHdr.OrderHdrID =
tblOrderDetails.odOrderHdrID) INNER JOIN tblInventory ON
tblOrderDetails.odInvID = tblInventory.InvID
WHERE (((tblInventory.ISBN_B)="15706") AND ((tblOrderHdr.UserID) Is Not
Null) AND ((tblOrderHdr.OrderDate) Between #1/1/2000# And #12/8/2009#));
If this can be done in a report instead of exporting and me making the bar
chart in excel that would be cool but I can't use microsoft object web
components reference because it breaks my app.