D
DS
I'm receiving a criteria mismatch on this statement. It worked fine until I
added the ChkSepCheck=-1 part.
It's a true false field.
Set rs2 = CurrentDb.OpenRecordset("SELECT Count(*) FROM " & _
"tblChecks " & _
"WHERE And ChkBizDay BETWEEN " &
Format(Forms!frmReportDates!TxtStart, "\#yyyy\-mm\-dd\#") & _
"AND " & Format(Forms!frmReportDates!TxtEnd, "\#yyyy\-mm\-dd\#") And
ChkSepCheck = -1, dbOpenSnapshot)
Thanks
DS
added the ChkSepCheck=-1 part.
It's a true false field.
Set rs2 = CurrentDb.OpenRecordset("SELECT Count(*) FROM " & _
"tblChecks " & _
"WHERE And ChkBizDay BETWEEN " &
Format(Forms!frmReportDates!TxtStart, "\#yyyy\-mm\-dd\#") & _
"AND " & Format(Forms!frmReportDates!TxtEnd, "\#yyyy\-mm\-dd\#") And
ChkSepCheck = -1, dbOpenSnapshot)
Thanks
DS