pdvsa
asked on
Find a record with an Input box
experts,
I am using the below but get a syntax. Any suggestions?
Private Sub cmdFind_Click()
Me.Recordset.FindFirst "End User" & InputBox("Enter Name")
End Sub
I am using the below but get a syntax. Any suggestions?
Private Sub cmdFind_Click()
Me.Recordset.FindFirst "End User" & InputBox("Enter Name")
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
" I assume it would go to the first one but then not sure about the second one."
As is, it's just going to find the first occurrence in the Recordset.
Well, using Like is a different paradigm. You will have to decide what to do - if anything - with additional occurrences ... or something that is only a partial hit ... ala Like "ABC" ....
mx
As is, it's just going to find the first occurrence in the Recordset.
Well, using Like is a different paradigm. You will have to decide what to do - if anything - with additional occurrences ... or something that is only a partial hit ... ala Like "ABC" ....
mx
ASKER
OK. Well I think I need to rephrase this question. I will close it out as you have provided an answer. I will ask another that requests to handle multiple occurences and see what happens. I do need to handle multiple occurrences for "like".
thank you mx
thank you mx
You are welcome.
Yes ... decide "*how* ... you want to handle multiple occurrences first ....
mx
Yes ... decide "*how* ... you want to handle multiple occurrences first ....
mx
ASKER
thank you