2 date fields. SCHEDULE DATE and RESCHEDULED DATE, for ease of typing, I am going to refer to them as SD and RD.
If RD is blank and SD is in the future, then show SD. If RD is in the future, then show RD. If SD and RD is in the future, RD "SHOULD" be a greater date than SD, show RD.
In Excel, I used the below formula and it works the way I want.
EXCEL: =IF(A2>=NOW()-1,A2,IF(B2>=NOW()-1,B2,""))
When I try the same in the query, it does not.
ACCESS: SCHED DATE: IIF([SD]>=Now()-1,[SD],IIF([RD]>=Now()-1,[RD],""))
Thanks in advance for ANY assistance.
If RD is blank and SD is in the future, then show SD. If RD is in the future, then show RD. If SD and RD is in the future, RD "SHOULD" be a greater date than SD, show RD.
In Excel, I used the below formula and it works the way I want.
EXCEL: =IF(A2>=NOW()-1,A2,IF(B2>=NOW()-1,B2,""))
When I try the same in the query, it does not.
ACCESS: SCHED DATE: IIF([SD]>=Now()-1,[SD],IIF([RD]>=Now()-1,[RD],""))
Thanks in advance for ANY assistance.