I have a form that is bound to a table (tblConcierge) and there are two combo boxes (both unbound). The second combo box (cboFull_Name) is based on what is selected in the first combo box (cboType). The lists of the two combo boxes are in two different tables. I've read a number of threads and still having problems.
I put in the AfterUpdate event for cboType the following code:
Private Sub cboType_AfterUpdate()
Me.cboFull_Name.RowSource = "SELECT Last_Name FROM" & _
"tblGeneralList WHERE Type=" & Me.cboType & _
"ORDER BY Last_Name"
Me.cboFull_Name = Me.cboFull_Name.ItemData(0)
End Sub
I get a list in cboType and able to select but no list shows up in cboFull_Name.
Help!!
Thanks.
DMO
I put in the AfterUpdate event for cboType the following code:
Private Sub cboType_AfterUpdate()
Me.cboFull_Name.RowSource = "SELECT Last_Name FROM" & _
"tblGeneralList WHERE Type=" & Me.cboType & _
"ORDER BY Last_Name"
Me.cboFull_Name = Me.cboFull_Name.ItemData(0)
End Sub
I get a list in cboType and able to select but no list shows up in cboFull_Name.
Help!!
Thanks.
DMO