Link to home
Start Free TrialLog in
Avatar of Dustin Stanley
Dustin Stanley

asked on

MS Access Need Help With Query Criteria and Weekday Function Showing Last Wednesday To This Last Tuesday

I am needing some help with the Weekday function in a query criteria. I have never used it so I don't have much experience. I am working on a payroll system currently.

The idea here is to pay the employees on Fridays.  The paycheck will consist of the days Wednesday until Tuesday. Then the employee receives the check on that following Friday.

I am having trouble understanding how to put this together. I thank you for help.
ASKER CERTIFIED SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dustin Stanley
Dustin Stanley

ASKER

Thank you Gustav. I will try this in the morning. Have a great night!
THANK YOU! This worked perfectly. I did have a small issue with the dates so I used in my query:

Between DateAdd("d",-7,DatePreviousWeekday(Date(),4)) And DatePreviousWeekday(Date(),4)
Yes, the constants are not known in SQL.