
Displaying selected list item in Style #2 combo box
I have a question regarding displaying the selected
list item of a style 2 combo box (drop-down list). In
my application, a user can add information to a
database. One particular bit of information is chosen
via the above combo box. The user clicks and the
chosen list item is displayed. So far, so good.
Using the ListIndex property, I can save the index
of the chosen variable. Now,the user wants to edit the
information previously entered, which brings up a
different form. My problem is how to
display the chosen list item in the text area of the
combo box so that the user knows the previously
selected value. The combo box comes up with a blank text
area, as it did during "add" mode. Since it's a combo
box, I can't use the .Selected property, and I get an
"invalid property value" when I try using the SelText
property, e.g. Status_list.SelText= stringexp.
This problem seems to be straightforward, but I can't find
a way to solve it. I hope I've given enough info.
Thanks in advance for any ideas.
Kevin Kohler