Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Microsoft: Access Queries and JET SQL FAQ

Using Functions in Queries

How to determine the First/Last day of a week by PaulBricker
Posted: 31 Jan 03

This function returns the First, Last or any specified Day of the week as a date value.
In a blank column in the query insert:

FirstDayofWeek:([DateField] - Weekday([DateField]))+ 1

for the first day of the week or:

LastDayofWeek:([DateField] - Weekday([DateField])) + 7

for the last day of the week.

For any other day, just change the integer with the intger value that reprsents the weekday you are looking for.

Back to Microsoft: Access Queries and JET SQL FAQ Index
Back to Microsoft: Access Queries and JET SQL Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close