Hi all,
I have a problem with my DCount criteria.
I am getting an error at the "d"; the error states "Expected: list separator or )". I have tried different ways of wrapping the "d", but with no success.
If I leave out the second part of the criteria, then it works just fine.
Thanks ahead of time!
I have a problem with my DCount criteria.
Code:
intStore = DCount("FDID", "LightDuty", "[Email Sent] = 0" AND "[Drs Excuse Exp] = DateDiff("d",Date(),[Drs Excuse Exp])<=14")"
I am getting an error at the "d"; the error states "Expected: list separator or )". I have tried different ways of wrapping the "d", but with no success.
If I leave out the second part of the criteria, then it works just fine.
Thanks ahead of time!