N
Neil
Hello All,
Access 2003:
I created a report for a table (by using the Wizard) and made a grouping
level on my date field. I then set the group on property to be Week. All is
well, the data is sorted by week. I just have one small requirement. The
wizard added the code below to show the week number in the Date by Week text
box:
=Format$([dteDate],"ww",0,0)
My report shows week 41 - which is correct. I also want it to show the date
of the Monday of each week so the overall text displayed would be something
like:
"Week commencing: 04th October - Week 41"
I have tried using:
="Week Commencing: " & Format$([dteDate],"dd-mmmm") & " - Week " &
Format$([dteDate],"ww",0,0)
This shows the date in the dates field - in my case the 7th October. I am
stumped as to how i can get the the first monday of the week. Can someone
please advise how this can be done?
TIA,
Neil.
Access 2003:
I created a report for a table (by using the Wizard) and made a grouping
level on my date field. I then set the group on property to be Week. All is
well, the data is sorted by week. I just have one small requirement. The
wizard added the code below to show the week number in the Date by Week text
box:
=Format$([dteDate],"ww",0,0)
My report shows week 41 - which is correct. I also want it to show the date
of the Monday of each week so the overall text displayed would be something
like:
"Week commencing: 04th October - Week 41"
I have tried using:
="Week Commencing: " & Format$([dteDate],"dd-mmmm") & " - Week " &
Format$([dteDate],"ww",0,0)
This shows the date in the dates field - in my case the 7th October. I am
stumped as to how i can get the the first monday of the week. Can someone
please advise how this can be done?
TIA,
Neil.