how do I obtain data for Friday & Saturday on a Monday

S

shifty

I am using the formula which runs a query to obtain the previous day's data
(Friday's data on a Monday). I want to also run a query which gives me
Saturday's data on a Monday sparately from Friday's data - is this possible?

IIf(Weekday(Date(),2)=1,Date()-3,Date()-1)
 
B

Bob Barrows

shifty said:
I am using the formula which runs a query to obtain the previous
day's data (Friday's data on a Monday). I want to also run a query
which gives me Saturday's data on a Monday sparately from Friday's
data - is this possible?

IIf(Weekday(Date(),2)=1,Date()-3,Date()-1)

In a separate field? Why not? Just modify your expression accordingly.
 

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