in my code i am using this syntax:
But the problem is what if the name doesn't exist what Code can i use for this?
lee123
Code:
Private Sub mnuName_Click()
Dim str As String
Adodc1.Recordset.MoveFirst
str = InputBox("What Name Can I Find For You......?", "Who Name Can I Search For You Today?")
Adodc1.Recordset.Find "lessorsname='" & str & "'"
End Sub
lee123
Comment