G
Guest
I'm having an issue with a combobox that is making no sense to me at all.
I have a form with several comboboxes/textboxes.
The values in these boxes are based on a datarowview, which is based on a
listbox.selecteditem.
When a different item is selected in the listbox, all the fields are
repopulated with the correct data.
I have 1 combobox which is acting weird.
The combobox values are populated from a table, and can contain a blank
value, or 1 of 3 other values.
The dropdown property is set to dropdown, so users can enter other values
(this is so old data from the database still displays).
When the form is populated, if the value in this combobox is old data (that
isn't in the list), and it is displayed, then when a new record is selected
in the listbox, all fields update and show the correct data, except for this
combobox, it shows the same text.
As a temporary fix, I replaced the combobox with a textbox. I left all the
code that populated it exactly the same, and it works fine...so I'm assuming
it is an issue with the actual combobox, and not with the code that is
populating it...
Where can I start to debug this problem??
TIA!
amber
I have a form with several comboboxes/textboxes.
The values in these boxes are based on a datarowview, which is based on a
listbox.selecteditem.
When a different item is selected in the listbox, all the fields are
repopulated with the correct data.
I have 1 combobox which is acting weird.
The combobox values are populated from a table, and can contain a blank
value, or 1 of 3 other values.
The dropdown property is set to dropdown, so users can enter other values
(this is so old data from the database still displays).
When the form is populated, if the value in this combobox is old data (that
isn't in the list), and it is displayed, then when a new record is selected
in the listbox, all fields update and show the correct data, except for this
combobox, it shows the same text.
As a temporary fix, I replaced the combobox with a textbox. I left all the
code that populated it exactly the same, and it works fine...so I'm assuming
it is an issue with the actual combobox, and not with the code that is
populating it...
Where can I start to debug this problem??
TIA!
amber