Home All Groups Group Topic Archive Search About
Author
6 Nov 2006 11:53 PM
nikila
Hi,

I am using windows combobox to populate the data from database. My
requirement is - If user enters some characters matching the values in
dropdownbox, I want to point to that location in combobox.

I know we have findstring method, but it is searching from the beginning of
the string which I enter

Eg -
Values in dropdownbox are "1  Hi How are you"
if I enter "Hi" in combobox, I want to go the location where the "1  Hi How
are you" is there

Please help!

Thanks in Advance

Author
7 Nov 2006 4:48 AM
Cor Ligthert [MVP]
Nikila,

I assume you mean an autocomplete box

http://www.vb-tips.com/dbpages.aspx?ID=aaf8f7e5-d5e8-4532-980f-c22411591992

I hope this helps,

Cor

Show quoteHide quote
"nikila" <niki***@yahoo.com> schreef in bericht
news:OaUD46fAHHA.4864@TK2MSFTNGP04.phx.gbl...
> Hi,
>
> I am using windows combobox to populate the data from database. My
> requirement is - If user enters some characters matching the values in
> dropdownbox, I want to point to that location in combobox.
>
> I know we have findstring method, but it is searching from the beginning
> of the string which I enter
>
> Eg -
> Values in dropdownbox are "1  Hi How are you"
> if I enter "Hi" in combobox, I want to go the location where the "1  Hi
> How are you" is there
>
> Please help!
>
> Thanks in Advance
>
>
>
>
>
Author
7 Nov 2006 10:38 PM
nikila
Hi Cor,

It helped. Thank you!

Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:uRbKAfiAHHA.3836@TK2MSFTNGP02.phx.gbl...
> Nikila,
>
> I assume you mean an autocomplete box
>
> http://www.vb-tips.com/dbpages.aspx?ID=aaf8f7e5-d5e8-4532-980f-c22411591992
>
> I hope this helps,
>
> Cor
>
> "nikila" <niki***@yahoo.com> schreef in bericht
> news:OaUD46fAHHA.4864@TK2MSFTNGP04.phx.gbl...
>> Hi,
>>
>> I am using windows combobox to populate the data from database. My
>> requirement is - If user enters some characters matching the values in
>> dropdownbox, I want to point to that location in combobox.
>>
>> I know we have findstring method, but it is searching from the beginning
>> of the string which I enter
>>
>> Eg -
>> Values in dropdownbox are "1  Hi How are you"
>> if I enter "Hi" in combobox, I want to go the location where the "1  Hi
>> How are you" is there
>>
>> Please help!
>>
>> Thanks in Advance
>>
>>
>>
>>
>>
>
>