I'm trying to load a combo box with a simple table containing a number of cities. However, when I debug the program and select a city, the previous city selected changes to the current selection. For example:
My list is Vancouver, Montreal and Ottawa, in that order. If I select Ottawa, and then hit the pulldown box again, my list becomes Ottawa, Montreal and Ottawa. If I then select Montreal, my list becomes Ottawa, Montreal and Montreal.
Has anyone seen this yet and if so, do they know how to fix it I'm a VB newbie, so this may be something simple that I'm overlooking.
Thanks in advance.

Data bound combo box
Benjamin Wagner
During the add record on the navigation control, I have:
statecombobox.selectedindex = 0
so that the initial value is shown when the add record button is click, thus showing that all controls go back to default values. This value then shows up as one value in one of the records.
Btw, I created the single record view using the completely automated datasource thing that puts all the controls on the form and binds them automatically.
I also tried messing with the databinding props in order to fix, but one record continues to use the first value in the combobox.
Please help me.
Sven_Dataelektronik
ElG
The obvious thing to do would be to post your code, so we can see what's going on.
Khairun Jamal
m_armstrong
Sounds to me like your code to set the initial selection is always being called ( is this a website, if so, this code should be in a !IsPostback block, so it only happens the first time ).