Anyone have a suggestion?
I'm very new to ACCESS.
At work I have a huge Parts Order database.
There are tables for our Part Info, Order Details (which parts to where), and Order Header (how and when).
I need to create a query that shows which parts are ordered more often than the others. I have completed the query using the Part# column of the order details table and used a COUNT TOTAL to show how many parts have been ordered from that same table.
What I have is a list of a single part and a total of how many times it has been ordered.
Unfortunately that query gives me a total of EVERY part ordered since our system has been implemented (3 years).
I need this list to only total the parts ordered since Jan. 1, 2006.
I have run the query using the order date information from the Order Header table. This worked, except instead of listing a single total for each part it lists out every part and date of the order.
Examples of what I mean:
This is what I want:
Part# Total
1122 200
1133 233
1144 45
1155 252
This is what I have:
Part# Date Total
1122 11/22/04 1
1122 01/29/05 1
1122 02/29/06 1
1122 06/29/06 1
1122 07/29/06 1
1133 11/29/04 1
1133 11/29/04 1
1133 11/29/05 1
1144 11/29/06 1
1144 11/29/06 1
1144 11/29/06 1
1155 11/29/04 1
1155 11/29/05 1
I hope you get the idea.
I know this isn't a very good explanation and a confusing question, and it won't be an easy fix.
Just asking for suggestions.
Thanks,
Bispo82
I'm very new to ACCESS.
At work I have a huge Parts Order database.
There are tables for our Part Info, Order Details (which parts to where), and Order Header (how and when).
I need to create a query that shows which parts are ordered more often than the others. I have completed the query using the Part# column of the order details table and used a COUNT TOTAL to show how many parts have been ordered from that same table.
What I have is a list of a single part and a total of how many times it has been ordered.
Unfortunately that query gives me a total of EVERY part ordered since our system has been implemented (3 years).
I need this list to only total the parts ordered since Jan. 1, 2006.
I have run the query using the order date information from the Order Header table. This worked, except instead of listing a single total for each part it lists out every part and date of the order.
Examples of what I mean:
This is what I want:
Part# Total
1122 200
1133 233
1144 45
1155 252
This is what I have:
Part# Date Total
1122 11/22/04 1
1122 01/29/05 1
1122 02/29/06 1
1122 06/29/06 1
1122 07/29/06 1
1133 11/29/04 1
1133 11/29/04 1
1133 11/29/05 1
1144 11/29/06 1
1144 11/29/06 1
1144 11/29/06 1
1155 11/29/04 1
1155 11/29/05 1
I hope you get the idea.
I know this isn't a very good explanation and a confusing question, and it won't be an easy fix.
Just asking for suggestions.
Thanks,
Bispo82