I need to have the record set to move to the records that match text1.text.
the problem is proproductdescription is a description field. with mean that text1 has to match exactly to proproductdescription. I want the record to navigate to the first record that match the first letter that I type and the second letter and so on in text1.
ex: if I type in C the recordset should move to the first record that begin with the letter C, if I add H to the C the recordset should move to the first record that begin with CH....
Does that make sense?
below is how I code it but is not doing it unless text1 identical to one of the record in my database.
on text1_change:
Adoproducts.Recordset.Sort = "proProductdescription"
Adoproducts.Recordset.MoveFirst
Searchcriteria = "proproductdescription =" & Text1.Text
Call Adoproducts.Recordset.Find(Searchcriteria)
thanks!
the problem is proproductdescription is a description field. with mean that text1 has to match exactly to proproductdescription. I want the record to navigate to the first record that match the first letter that I type and the second letter and so on in text1.
ex: if I type in C the recordset should move to the first record that begin with the letter C, if I add H to the C the recordset should move to the first record that begin with CH....
Does that make sense?
below is how I code it but is not doing it unless text1 identical to one of the record in my database.
on text1_change:
Adoproducts.Recordset.Sort = "proProductdescription"
Adoproducts.Recordset.MoveFirst
Searchcriteria = "proproductdescription =" & Text1.Text
Call Adoproducts.Recordset.Find(Searchcriteria)
thanks!