Count = DCount("Reference", "tblLog", "[DateLogged] Between """ & strDate & "'" AND "'" & endDate")
I am getting a syntax error when this line of code tries to run. Can anyone point out where the error is? The variables strDate & endDate are declared and set to txt box values on a form.