How to find a record by typing
the first letters
I have a table called Customers and a form called frmCustomers and i find
a customer on the form through its ID number for examplle
Dim strCustomerID As String
Dim strBookmark As String
strBookmark = Me.Bookmark
strCustomerID = InputBox(“Please enter Customer number “)
Me.RecordsetClone.FindFirst “CustomerID = ” & strCustomerID
If Me.RecordsetClone.NoMatch Then
MsgBox “CustomerID ” & strCustomerID & ” Not Found!!”
Me.Bookmark = strBookmark
Else
Me.Bookmark = Me.RecordsetClone.Bookmark
End If
However i want to find the customer through writing the first letters of its CompanyName and choose the right customer from a dropped list of the CompanyNames with the closest letters.Is it posible?