Displaying the correct item in a combo box when loading a form.
Posted on 2004-09-02
I am loading a form with a combo box on it.
In the combo box, item 0 = M, 1 = A, 2 = A, 3 = B, 4 = O.
When I load the form I collect a number from a database which tells me what the combo box is set as.
The question is how do I get the combo box to have item 3 already selected?
At the moment instead of displaying B in the combo it displays the number 3.
Any help much appreciated.