M
MEilu
Hello,
I have a table with the following fields:
ID (Key)
Date (Key)
Qty
ID and Date are the keys.
I was wondering if it's possible to write a query that
would sum of the Qty of each week?
ie: If the table had the following entries
ID Date Qty
A 1/1 1
B 1/1 1
A 1/2 1
B 1/2 1
A 1/7 1
B 1/7 1
A 1/9 1
B 1/9 1
A 1/10 1
B 1/10 1
The Query would return
ID Week Of Qty
A 1/1 3
B 1/1 3
A 1/8 2
B 1/8 2
I know that I could do this with a report. But I would
also like to export the result to excel. and with a
report ... it just doesn't look very nice. I want it to
look like a spreadsheet. And the report doesn't format
it like that.
Thanks for any input
Meilu
I have a table with the following fields:
ID (Key)
Date (Key)
Qty
ID and Date are the keys.
I was wondering if it's possible to write a query that
would sum of the Qty of each week?
ie: If the table had the following entries
ID Date Qty
A 1/1 1
B 1/1 1
A 1/2 1
B 1/2 1
A 1/7 1
B 1/7 1
A 1/9 1
B 1/9 1
A 1/10 1
B 1/10 1
The Query would return
ID Week Of Qty
A 1/1 3
B 1/1 3
A 1/8 2
B 1/8 2
I know that I could do this with a report. But I would
also like to export the result to excel. and with a
report ... it just doesn't look very nice. I want it to
look like a spreadsheet. And the report doesn't format
it like that.
Thanks for any input
Meilu