The variables have to be outside the SQL string and dates have to be included within "#", so the correct sintax for the SQL string is:
"SELECT * FROM [TABLENAME] WHERE ((([TABLENAME].DateIssued) BETWEEN #" & [start date] & "# AND #" & [end date] & "#))"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.