The combo box populates correctly, but if I click on any module, it automatically selects the first item in the box.
Example:
My Product is CA, the modules are Assessment, Capacity, Implementation, Planning, Evaluation, REports, Other.
If I select CA, then under module I select Implementation, the module combobox popluates with "assessment"
Here is my code for the Product on change event
Expand|Select|Wrap|Line Numbers
- Private Sub Product_Change()
- Dim t As String
- t = Me.Product.Value
- cboModule.SetFocus
- cboModule.RowSource = "Select [product id], Module FROM Module where [product id] = " & t & ";"
- Product.SetFocus
- End Sub
Thank you