I'm using IIF function to evaluate weekday function and update text based on that, but no matter what Access always returns true part here's the code. Does anyone have some insight or solutions to make this expression works.
Here's the code:
IIf(Weekday(Now()=2),"<QUERY>(ListStatus=|with,exp,temp),(StatusChangeDate=" & Format(DateAdd("d",-3,Now()),"mm/dd/yyyy hh:nn"
& "+)</QUERY>","<QUERY>(ListStatus=|with,exp,temp),(StatusChangeDate=" & Format(DateAdd("d",-1,Now()),"mm/dd/yyyy hh:nn"
& "+)</QUERY>"
Any suggestions
Thanks
Level Hot
PS TEK-TiPs RuLeZ
Here's the code:
IIf(Weekday(Now()=2),"<QUERY>(ListStatus=|with,exp,temp),(StatusChangeDate=" & Format(DateAdd("d",-3,Now()),"mm/dd/yyyy hh:nn"
Any suggestions
Thanks
Level Hot
PS TEK-TiPs RuLeZ