H
hughess7
Hi all
I've had a report working in Access for years using week number, this year
with the 1st of 2010 being a Friday it has thrown it out, it thinks Mon 4th
is week2. I know how to change this in my report to get it to display week
one - but is there a function or something I could create to ensure this is
correct every year without me having to manually edit my report?
The report is based on a crosstab query and displays 14 weeks at a time. The
calc for week number is done in an unbound column on the report itself,
repeated for each week (ie 14 times). An example follows:
Last year it was...
=Format([MonWk1],"mmmm") & " wk " & DatePart("ww",[MonWk1],1,1)
Which for this year it displays the 4th as Week 2 and I've had to change it
to:
=Format([MonWk1],"mmmm") & " wk " & DatePart("ww",[MonWk1],1,2)
to correctly display Week 1 instead.
Thanks
Sue
I've had a report working in Access for years using week number, this year
with the 1st of 2010 being a Friday it has thrown it out, it thinks Mon 4th
is week2. I know how to change this in my report to get it to display week
one - but is there a function or something I could create to ensure this is
correct every year without me having to manually edit my report?
The report is based on a crosstab query and displays 14 weeks at a time. The
calc for week number is done in an unbound column on the report itself,
repeated for each week (ie 14 times). An example follows:
Last year it was...
=Format([MonWk1],"mmmm") & " wk " & DatePart("ww",[MonWk1],1,1)
Which for this year it displays the 4th as Week 2 and I've had to change it
to:
=Format([MonWk1],"mmmm") & " wk " & DatePart("ww",[MonWk1],1,2)
to correctly display Week 1 instead.
Thanks
Sue