Hello,
I am attempting to write a query that filters out Orders placed within 2 days of today. Orders can be placed on Monday-Friday, but not placed on Saturday or Sunday. This is a problem for the criteria come Monday because it counts Saturday/Sunday. How can I exclude saturday and sunday from the count?
Essentially, if an order is on monday, I dont wan't the criteria to count sunday/saturday, but to start on friday.
Here's what I have written. I've tried using datediff() and weekday() to no avail.
Order Date: IIf([Order #] Is Null And [qry orders].[order entry date]<Date()-2,"2 days with no order","")
Thank you,