J
jjsaw5 via AccessMonster.com
I have a serach on a form that is preformed by a textbox with a search button
and the search was working fine and all of a sudden i am getting this error...
Runtim Error 3464
DataType mismatch in criteria expression
here is the code that prefroms my search....
Private Sub Command21_Click()
If IsNull(Text15) = False Then
Me.Recordset.FindFirst "z6=" & Text15
Me!Text15 = Null
If Me.Recordset.NoMatch Then
MsgBox "No record found", vbOKOnly + vbInformation, "Sorry"
Me!Text15 = Null
End If
End If
End Sub
and the search was working fine and all of a sudden i am getting this error...
Runtim Error 3464
DataType mismatch in criteria expression
here is the code that prefroms my search....
Private Sub Command21_Click()
If IsNull(Text15) = False Then
Me.Recordset.FindFirst "z6=" & Text15
Me!Text15 = Null
If Me.Recordset.NoMatch Then
MsgBox "No record found", vbOKOnly + vbInformation, "Sorry"
Me!Text15 = Null
End If
End If
End Sub