Query to Show Week Ending Date

jHats

New member
Local time
Yesterday, 18:00
Joined
May 30, 2017
Messages
2
Hello,

I am a novice with access.

I am trying to build a query that groups by Weekending date. I am able to get it group and show the week number by using the following code :

Earned Date: DatePart("ww",[TK_PULLED],2)

I want it to group the same way, but show the short date of the week ending. I have googled a lot and the info ive researched seems overly complex. Is there a simple way to slide the format function into the above code to get it to show the weekending date as what its grouped by?

TIA!
 
I suggest that you google with this as search criteria
ms access week ending date
You'll find several posts from different sources.

Good luck.
 
Use the formula below to find Week-end Date:
Code:
y = #01/01/2017#
x = Date()
? y+DatePart("ww",x)*7-1
 

Users who are viewing this thread

Back
Top Bottom