Sorry for not being clear..
The combo box source is determined by the selection of the company in a prior
ComboBox Event (see example).
Private Sub CompanyID_AfterUpdate()
Dim stEmp As String
Dim stCoNum As String
stCoNum = Me.COMPANY
If stCoNum = "C1" Then
stEmp = "qryLookupSalesEmp_C1"
ElseIf stCoNum = "C2" Then
stEmp = "qryLookupSalesEmp_C2"
End If
Me.Salesperson.RowSource = stEmp
End Sub
After the Company has been selected the ComboBox "Salesperson" is populated.
If I click on the ComboBox with the mouse I can see the correct list, but
when I then click on the person it doesn't select them. However if I use the
arrow down key and then use the tab key while on the correct name, it works
fine.
Ryan said:
Trying to understand this.
You can tab to it and arrow down and select the options listed in the
combo box but not use the mouse...?
Also will need to know the query of the combo box (row source).
I am having problems with the drop down list object. To select an item I have
to use the Tab key. If I click it with the mouse it doesn't select the item.
[quoted text clipped - 10 lines]
Matt Campbell
mattc (at) saunatec [dot] com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200612/1