Crosstab Query - Show date range????

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

New at crosstab queries, I have built a couple simple ones that show
percentage by week for different depts.

My column heading: Format([DateOfAudit],"ww") returns the number of the
week as a column. Two questions:

Is there a way to return the date range of the week as the column heading
rather than the number of the week?

Second Question:
As time passes the query will naturally grow a new columnm for each week.
How do you build a report that displays the new data without reformatting
every week?

Thanks for you help.
 
Thanks Hook, I think I am starting to get it but I don't understand the use
of txtEndDate and menuing. I am glad to have found your web stash of
downloads, I'll have to look them over this weekend.
--
Jeff C
Live Well .. Be Happy In All You Do


Duane Hookom said:
You can create dynamic date crosstab reports using relative dates. There is
an article on how to do this at
http://www.access.hookom.net/DynamicMthlyCrosstabRpt.htm

--
Duane Hookom
MS Access MVP

Jeff C said:
New at crosstab queries, I have built a couple simple ones that show
percentage by week for different depts.

My column heading: Format([DateOfAudit],"ww") returns the number of the
week as a column. Two questions:

Is there a way to return the date range of the week as the column heading
rather than the number of the week?

Second Question:
As time passes the query will naturally grow a new columnm for each week.
How do you build a report that displays the new data without reformatting
every week?

Thanks for you help.
 
txtEndDate is the maximum date you want to reference in your crosstab query.
"Menuing" is the act of selecting menu options from the menu bar.

--
Duane Hookom
MS Access MVP

Jeff C said:
Thanks Hook, I think I am starting to get it but I don't understand the
use
of txtEndDate and menuing. I am glad to have found your web stash of
downloads, I'll have to look them over this weekend.
--
Jeff C
Live Well .. Be Happy In All You Do


Duane Hookom said:
You can create dynamic date crosstab reports using relative dates. There
is
an article on how to do this at
http://www.access.hookom.net/DynamicMthlyCrosstabRpt.htm

--
Duane Hookom
MS Access MVP

Jeff C said:
New at crosstab queries, I have built a couple simple ones that show
percentage by week for different depts.

My column heading: Format([DateOfAudit],"ww") returns the number of
the
week as a column. Two questions:

Is there a way to return the date range of the week as the column
heading
rather than the number of the week?

Second Question:
As time passes the query will naturally grow a new columnm for each
week.
How do you build a report that displays the new data without
reformatting
every week?

Thanks for you help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top