G
Grant Morgan
Hi
Using the RTM version of VS.Net Professional 2005 downloaded from MSDN.
Designing a windows form app in Visual Basic. I have the following data
structure:
Orders Table:
=========
OrderID
OrderTypeID
Date
etc...
OrderType Table:
=============
OrderTypeID
OrderTypeDescription
I've set a combo box bound to the Orders.OrderTypeID field, with values
taken from OrderType table - value member set to OrderType.OrderTypeID,
display member set to OrderType.OrderTypeDescription. Everything is working
OK, and the correct OrderTypeID value is stored in the Orders.OrderTypeID
field. However, after you've used the combo box and selected a new value,
when you go back to the combobox the previously selected value is duplicated
in the list, and has replaced one of the other list items...
Example:
==================================
Initial ComboBox items:
----------------------
Order Pick
EDI Order
Adjustment
Return
----------------------
I change the combobox selection from Order Pick to Return, and exit the
combobox. I go back to the combobox, and the items are now:
----------------------
Order Pick
EDI Order
Return
Return
----------------------
If this in unclear, I can send sample code.
Regards
Grant Morgan
Using the RTM version of VS.Net Professional 2005 downloaded from MSDN.
Designing a windows form app in Visual Basic. I have the following data
structure:
Orders Table:
=========
OrderID
OrderTypeID
Date
etc...
OrderType Table:
=============
OrderTypeID
OrderTypeDescription
I've set a combo box bound to the Orders.OrderTypeID field, with values
taken from OrderType table - value member set to OrderType.OrderTypeID,
display member set to OrderType.OrderTypeDescription. Everything is working
OK, and the correct OrderTypeID value is stored in the Orders.OrderTypeID
field. However, after you've used the combo box and selected a new value,
when you go back to the combobox the previously selected value is duplicated
in the list, and has replaced one of the other list items...
Example:
==================================
Initial ComboBox items:
----------------------
Order Pick
EDI Order
Adjustment
Return
----------------------
I change the combobox selection from Order Pick to Return, and exit the
combobox. I go back to the combobox, and the items are now:
----------------------
Order Pick
EDI Order
Return
Return
----------------------
If this in unclear, I can send sample code.
Regards
Grant Morgan