I want to run an update query to update yesterdays data. so in the Criteria field I input Date()-1. Except on Monday, it needs to say Date()-3.
I've tried something like this, but I'm not sure if I'm getting the right return.
IIf(Weekday(1),Date()-3,Date()-1)
I'm trying to say If, its Monday, use Date()-3, if it's Tuesday - Friday, use Date()-1
I'm not a VBA writer, so if you could specify what to put in the Query, Criteria field, I'd really appreciate it.
Thanks in advance.