I am currently writing a Visual Basic System and have a problem with combo boxes. I have for example a screen with a combo box and a text box. On form_load I read a table and fill the combo box with descriptions and its key. When a user selects the combo box he/she sees a list of descriptions. The key value is placed out of view to the right hand side of the description. The user then picks from the combo the description he/she wants and the description is now placed in the text box and its key is displayed in the combo. The only problem is that when I click the description the text box gets its description all right but I lose the value in the combo box.
The key is flashed in the combo box and then disappears so I am left with a empty combo box. I am running VB 5.0, this is obviously not a bug any answers????????.