Hmm, this should get you started...
https://blogs.office.com/2012/05/03/using-a-combo-box-to-search-as-you-type/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to create an advanced search button that is connected to a dialogue form that searches
for a specific criteria. When the user enters the criteria they don't have to press anything the matches just come up something like the following, where the original form has a advanced search button
Which
then goes on to produce a connected form that shows the criteria and related records according to the letters of first and last names of the people in the database.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hmm, this should get you started...
https://blogs.office.com/2012/05/03/using-a-combo-box-to-search-as-you-type/
I dont want a combo box though I would like a text box that users can enter values into
Hmm, them something like...
Dim strSQL As String
strSQL = "SELECT YourField, YourField " & _
"FROM YourTable " & _
"WHERE TheFieldYouWantToSearchOn Like '*" & Me.NameOfTheControlOnYourForm.Text & "*')) " & _
"ORDER BY FieldFromYourTableOptional DESC"
In the On_Change Event of your Text Box Control on your Form.
Ivy, Why not use a combo? the user can still just type what they want, but using a combo can ensure they type a valid value. Plus the combobox wizard will create the search control for you.