Checked the numerous posts about this but still having probs...
stSQL = stSQL & " WHERE tblChanges.ImplementationDate Between #" & Format([txtFrom], "dd/mm/yyyy") & "# And #" & Format([txtTo], "dd/mm/yyyy") & "#;"
I want the user to be able to enter the date in format dd/mm/yyyy to retrieve their records, which are output to a report.
Records are not being found, unless the user enters the US format of mm/dd/yyyy.
Any suggestions welcome.
stSQL = stSQL & " WHERE tblChanges.ImplementationDate Between #" & Format([txtFrom], "dd/mm/yyyy") & "# And #" & Format([txtTo], "dd/mm/yyyy") & "#;"
I want the user to be able to enter the date in format dd/mm/yyyy to retrieve their records, which are output to a report.
Records are not being found, unless the user enters the US format of mm/dd/yyyy.
Any suggestions welcome.