ComboBox

  • Thread starter Thread starter Bomanews
  • Start date Start date
B

Bomanews

Hi group,

I have some troubels with my VB .NET. I've got an Oracle table and in that
table I store

codeID (Primary Key)
code ( this code is NOT uniek)
name ( this name is uniek)


Now I have a txtBox where I can write a code. Then I want to fill up a
combobox with al the names who have that code.

But how must I do that?


example1: txtBox code : 1234

Combobox name: HE
SHE
THEY

example2: txtBox code : 9876

Combobox name: WE
I
YOU


I hope that you can help me...

Thx in advance
 
you can use the rowfilter.

on textBox.leave event:
yourDataSet.tables(yourtable).defaultView.rowfilter="code=' &
yourTextBox.text & '"

Hope this help.
 
Back
Top