Hi,
I need to be able to pull records back from an Access Database between two dates. However, the dates are not standard and would be entered by a user from a Userform.
how would I code this query . I am trying [
where Sdate would be the Sdate text box in the UF and Edate is the End date in the UF."SELECT * FROM Claims WHERE [NowDate] Between SDate('01/Jan/2013', 'dd/mmm/yyyy') And Edate('01/Jan/2020', dd/mmm/yyyy')"
E and S date are defined as:
SDate = Format(report.reportstart.Text, "dd/mmm/yyyy")EDate = Format(report.reportend.Text, "dd/mmm/yyyy")
Above.
Any ideas?