How can I pull Access information by day of week?

G

Guest

I have a Microsoft Access file with a lot of different fields, one being
date. How can I retreive information based on day of week? (i.e. all Mondays)
 
T

Tom Lake

Ed said:
I have a Microsoft Access file with a lot of different fields, one being
date. How can I retreive information based on day of week? (i.e. all
Mondays)

Add a calculated field to your query:

DOW: Format([date],"dddd")

Then in the Criteria for that field, use

="Monday"

Tom Lake
 
P

peregenem

Tom said:
How can I retreive information based on day of week? (i.e. all
Mondays)

Add a calculated field to your query:

DOW: Format([date],"dddd")

Then in the Criteria for that field, use

="Monday"

A integer comparison may be preferred

WHERE WEEKDAY([Date] ,2) = 1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top