Hi
I am looking for help to correct the below expression for query?
It is required to identify the status of employee if;
Available = If any of AStartDate or AEndDate is Null
On Vacation: If current date is in between AstartDate and AEndDate
Already Applied: if current date is still not reached to Astart Date.
Status: IIf(Nz([AStartDate],0)=0 Or Nz([AEndDate],0)=0,"Available",IIf([AStartDate] >= Now()," and [AEndDate] < = Now(), "Vacation","Already Applied "))