vbgen Level: Moderator
 Registered: 10-10-2002 Posts: 876
|
Re: How to make the Data Combo search automatically
my guess is that you load the content of the text box into a string, then code it up to read the string letter by letter with the contents of the list of values.
i don't have the code here, but the idea would be to check value per value with comparison to the string in the text, then move to the next if the next letter of each string become unequal.
if you do find a perfect match early in the sequence, you'd still have to write code to save that value in a variable, then proceed with the other values, until you have checked all of them, just so that you have accuracy, in the sense that you maight have two ro three perfect matches, because you did check the whole list.
don't stop when you find a perfect match...
loop through all the contents of the list..
was that clear?
____________________________
Been busy trying to take a second degree <--it's not working out...
|