M
mission2java_78
Guest
Dynamically generating an SQL string for a reports record source. If I have:
mySQL = mySQL & " BETWEEN #" & Forms!frmReportsSwitchboard!txtBeginDate & " AND #" & Forms!frmReportsSwitchboard!txtEndDate
do I need to add an AND before between? Or a where ? because I cant seem to get the query correct it says missing syntax.
Thanks,
Jon
mySQL = mySQL & " BETWEEN #" & Forms!frmReportsSwitchboard!txtBeginDate & " AND #" & Forms!frmReportsSwitchboard!txtEndDate
do I need to add an AND before between? Or a where ? because I cant seem to get the query correct it says missing syntax.
Thanks,
Jon