ComboBoxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Quick qustion on Combo Boxes. I am trying to populate a combobox with information from an Oracle table. Using a dataset I can get the data to import to the combobox ok. However, if I run a select statement to pull in information for other tables (Selecting all information from the table where a model # is equal to a specific number) the combo box pulls in the correct value, but it is the only value in the combobox

Ideally when I pull in the information I would like for ALL the model numbers to be pulled in and the specific model number linked to the system I am querying to be the "selected value" or "selected item". I can only seem to make one of the two scenerios to work at any given time. Either I get a full list of model numbers (and the selected value is not highlighted) or I get the selected value I am looking for, but all the other models numbers are not there

Can anyone help me here?
 
Hi Jim,

Maybe we can help you, but mostly we want to see some code because we are no
wizards.

Show us by instance how you fill the second table.

Cor

ps. please paste it first in a notepad, then copy it back and then in the
message, in another way it is mostly very difficult reading.
Quick qustion on Combo Boxes. I am trying to populate a combobox with
information from an Oracle table. Using a dataset I can get the data to
import to the combobox ok. However, if I run a select statement to pull in
information for other tables (Selecting all information from the table where
a model # is equal to a specific number) the combo box pulls in the correct
value, but it is the only value in the combobox.
Ideally when I pull in the information I would like for ALL the model
numbers to be pulled in and the specific model number linked to the system I
am querying to be the "selected value" or "selected item". I can only seem
to make one of the two scenerios to work at any given time. Either I get a
full list of model numbers (and the selected value is not highlighted) or I
get the selected value I am looking for, but all the other models numbers
are not there.
 
Back
Top