I have three combo boxes representing species. The first of which is Taxa (taxonomic group; ie Amphibian, Bird, Snail, etc). The user first makes a selection in this box, which limits the next two comboboxes. *I've already accomplished the cascading portion.
The second and third boxes are on the same level of the hierarchy. The boxes are Common Name and Scientific Name for which there is only one record for each species. The reason I'm using two separate comboboxes instead of a combobox and a text box is that for some of the rare species, a common name does not exist. In this case the user would have to make their selection on the Scientific Name from the filtered list. The common names are usually easier for people to recognize, but they may be forced to choose with the Scientific name.
I've managed to get this to work with the following VBA:
Me.cboScientific.Value = Me.cboScientific.ItemData(Me.cboCommonName.ListInd ex)
The problem is if the user makes a mistake in their selection of species name. The user can go back into the combobox and the list is still filtered by the specified taxa, but the user cannot change the value in this box. Even selecting another species leaves the original species in the combo box.
Do I need to requery or refresh somehow?