C
crusty
Hi,
I have a query with a dlookup, in the dlookup is a dateadd adding days to a
parameter date, which is not working. The problem seems to be with the
Dateadd.
here is the dlookup:
Expr3: DLookUp("[approved]","tblLeave"," tblLeave.EmployeeID=5 AND [Start
Date]<= dateadd('d',17," & [mdate] & " ) AND Day([End Date])>=18")
mdate is the date parameter.
Any ideas?
Thanks
Adrian
I have a query with a dlookup, in the dlookup is a dateadd adding days to a
parameter date, which is not working. The problem seems to be with the
Dateadd.
here is the dlookup:
Expr3: DLookUp("[approved]","tblLeave"," tblLeave.EmployeeID=5 AND [Start
Date]<= dateadd('d',17," & [mdate] & " ) AND Day([End Date])>=18")
mdate is the date parameter.
Any ideas?
Thanks
Adrian