Hi
I am using this code but the sql does not seem to work, can anyone help!
Dim strDate As String
strDate = Forms![frmComparison]![cboComparisonDate]
strSQl = "SELECT * FROM qryTest WHERE qryTest.ComparisonDate =" & strDate
I am using this code but the sql does not seem to work, can anyone help!
Dim strDate As String
strDate = Forms![frmComparison]![cboComparisonDate]
strSQl = "SELECT * FROM qryTest WHERE qryTest.ComparisonDate =" & strDate