Hi All -
I am receiveing a runtime error 438 during the following part of my code:
I think its because the data in MstrProdYear is a number, which makes sense to me, but I am not sure what to change it to so the search code will recognize the numerical years.
Any help would be awesome.
Thanks - Ken
I am receiveing a runtime error 438 during the following part of my code:
Code:
If Not IsNull(Me.txtfilterProdYear) Then
strWhere = strWhere & "([MstrProdYear] Like ""*" & Me.txtfilterProdYear & "*"") AND "
End If
I think its because the data in MstrProdYear is a number, which makes sense to me, but I am not sure what to change it to so the search code will recognize the numerical years.
Any help would be awesome.
Thanks - Ken