Hi guys
I am stuck with a query results:
a table is being updated every day. Table name is "Process".
basically on this table I am appending all the orders inserted from clients since Friday, and on other days just insert the orders from the day before:
On the Orderdate field of the pending query
I do have this criteria:
Code:
Between IIf(Weekday(Date())=2,(Max(ORDER_DATE]))>=Date()-3,Date()-1) And Date()-1
but is not working. instead of just appending the last Friday`s data on Monday it is inserting everything..
How should I modify it in order to have just the last Friday.
Any ideas on this issue.
thanks a lot
Webisti