Try this version :
Code:
Option Compare Database
Option Explicit
Private Sub Command19_Click()
With Me
If .Text17 > "" Then
Call .Recordset.FindFirst("([Vehicle Model]='" & Text17 & "')")
If .Recordset.NoMatch Then
Call MsgBox("No record found" _
, vbOKOnly + vbInformation _
, "Sorry")
.Text17 = Null
End If
End If
End With
End Sub
Comment