Hi everyone,
I was wondering if anyone can tell me what the difference or how to solve this problem:
DB: ACCESS
VIEW: SELECT QUERY
Expression: Expr1: Format([formLoadTime],"mm/dd/yyyy") Between Format([equipmentStartDate],"mm/dd/yyyy") And Format(IIf(nz([equipmentEndDate],"")="", DateAdd('d',365,Format(Now(),"mm/dd/yyyy")), [equipmentEndDate]),"mm/dd/yyyy")
But expression like this works:
Format([formLoadTime],"mm/dd/yyyy") Between #11/01/2006# And #01/01/2007#
I was wondering if anyone can tell me what the difference or how to solve this problem:
DB: ACCESS
VIEW: SELECT QUERY
Expression: Expr1: Format([formLoadTime],"mm/dd/yyyy") Between Format([equipmentStartDate],"mm/dd/yyyy") And Format(IIf(nz([equipmentEndDate],"")="", DateAdd('d',365,Format(Now(),"mm/dd/yyyy")), [equipmentEndDate]),"mm/dd/yyyy")
But expression like this works:
Format([formLoadTime],"mm/dd/yyyy") Between #11/01/2006# And #01/01/2007#