Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filtering a query "Day of the week"

Status
Not open for further replies.

darren77uk

IS-IT--Management
Apr 23, 2001
78
CA
Okay I have another one for you guys, need to filter a query to display only Saturday and Sunday. HELP!!

 
Try this in the criteria of your Date Field:

Weekday([YourDate])=7 Or Weekday([YourDate])=1

This will single out Saturday (7) and Sunday (1).

Of course you will YourDate to the name of the Date Field that this criteria goes into.

Hope this helps, ljprodev@yahoo.com
Professional Development
MS Access Applications
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top