Hi, I'm going mad trying to add this line to an sql statement. It works fine without it but I get an error saying one or more parameters is missing.
Me.StartDate = Me.CalStart.Value
Me.EndDate = Me.calEnd.Value
strSQL = strSQL + " AND ((tblResults.DateNumeric) Between ('" & Me.StartDate & "') And ('" & Me.EndDate & "')) "
The string when it's put together looks like this...
((tblResults.DateNumeric) Between ('22/06/2005') And ('22/06/2005'))
Please can someone help, I'm fairly new to this.
thanks
Me.StartDate = Me.CalStart.Value
Me.EndDate = Me.calEnd.Value
strSQL = strSQL + " AND ((tblResults.DateNumeric) Between ('" & Me.StartDate & "') And ('" & Me.EndDate & "')) "
The string when it's put together looks like this...
((tblResults.DateNumeric) Between ('22/06/2005') And ('22/06/2005'))
Please can someone help, I'm fairly new to this.
thanks