M
MarieT
Hello,
I have a table with a Qty value for each part. I need to create a query with
12 coulmn headings, where each column heading is the date of the first day of
the week for the next 12 weeks, and the Value I want under each column date
is the Qty value divided by 12. So under each week coulmn I should get the
same value (that is the Qty/12). For example:
If in the table I have:
Part Qty
Part1 84000
Part2 96000
The query will have:
Part 06/02/2008 06/09/2008 06/16/2008 .....
Part1 7000 7000 7000
Part2 8000 8000 8000
I know how to find the first week day of the current date:
Expr1: DateAdd("d",1-Weekday(Date()),Date())
But this only gives me one column, and I can only specify one column
heading. How can I make it give me 12 columns with the correct headings and
the correct same value under each coulmn? This sounds pretty simple, yet I
have not yet found a way to do it.
Any help will be greatly appreciated!
MarieT
I have a table with a Qty value for each part. I need to create a query with
12 coulmn headings, where each column heading is the date of the first day of
the week for the next 12 weeks, and the Value I want under each column date
is the Qty value divided by 12. So under each week coulmn I should get the
same value (that is the Qty/12). For example:
If in the table I have:
Part Qty
Part1 84000
Part2 96000
The query will have:
Part 06/02/2008 06/09/2008 06/16/2008 .....
Part1 7000 7000 7000
Part2 8000 8000 8000
I know how to find the first week day of the current date:
Expr1: DateAdd("d",1-Weekday(Date()),Date())
But this only gives me one column, and I can only specify one column
heading. How can I make it give me 12 columns with the correct headings and
the correct same value under each coulmn? This sounds pretty simple, yet I
have not yet found a way to do it.
Any help will be greatly appreciated!
MarieT