Please any one help to solve this problem
i am using vb 6.0 and ms-access
in my project the primary key is Alpha Numeric Type
( Ex. Vehicle no. TN09x 5186)
i set the Primary field at data tye in ms access - Text
when i run the following Find Code the Following Error will occured
" RnnTime Error '3001' Arguments are of the wrong type, are out of accepted range, or are in conflict with one another"
Private Sub Find_Click()
Dim A As String
A = InputBox("ENTER VEH.NO")
rs.MoveFirst
rs.Find "vehno=" & A
If rs.EOF Then
MsgBox "Record not Found"
Else
rs.Delete
MsgBox "successfullu deleted"
End If
End Sub