sql = "select CATEGORY , COUNT(CATEGORY)as CatStac from tblRentals where dateIssued between #" & MyStringDate1 & "# AND #" & MyStringDate2 & "# from tblRentals GROUP BY CATEGORY"
You have already mentioned the
FROM
clause, no need to mention again before
GROUP BY
Clause.