From a DB I get back the following data
Code Description
a1 Door
b5 Wheels
bn5 Plugs
zx5 Seat
What I want is to populate a combo box so that it displays the descriptions. However what I also want to is to find out the code when the user selects a description.
For example when the user selects Plugs from the combo box a message box is displayed showing "bn5"
Code Description
a1 Door
b5 Wheels
bn5 Plugs
zx5 Seat
What I want is to populate a combo box so that it displays the descriptions. However what I also want to is to find out the code when the user selects a description.
For example when the user selects Plugs from the combo box a message box is displayed showing "bn5"