I am using VB 2005 and Access 2007
How can I select four different things from the same list?
Basically, here's what I'm trying to do: I have table of intermediates. On my form, I want to be able to choose up to four different intermediates, which will be used in creating calibration standards.
In my CalStandards table I have listed intermediate1 through intremediate4
These 4 different intermediates are the 4 comboboxes used on the form.
When I place the four comboboxes, they all point to the same thing. If one changes, they all change.
So, here's what I did next: I added 4 different datasources, each pointing to the intermediates table in the dataset; (Intermediates1-Intermediates4), as well as the the whole dataset (LabDataSet). I dragged CalStandards under the LabDataSet to the form, then from the CalStandards table, I dragged the four Intermediate(1-4)Descriptions to the form.
Intermediate1Description ComboBox: DataSource = IntermediatesBindingSource, Display and Value Member = IntermediateDescription, SelectedValue = IntermediatesBindingSource - IntermediateDescription
Intermediate2Description ComboBox: DataSource = IntermediatesBindingSource1, Display and Value Member = IntermediateDescription, SelectedValue = IntermediatesBindingSource1 - IntermediateDescription
While they no longer match, I cannot move from one combobox to the next. It appears that I have the comboboxes setup incorrectly, which I don't understand because I have set my comboboxes the same way in other applications.
Well, apparently I had text assigned under the (DataBindings). Removing that allows me to move to and from comboboxes. But here's something curious, Say I have A, B, and C populated in the combobox. A is the first, and is what is initially showing. If I choose B, then A disappears, and the choice is B, B, and C. Then if I choose C, A is still gone, and the choice becomes C, B, C.
Where is A going? Does this mean that there is still something wrong with my comboboxes? If so, what?