Cascading combo box and list box

caecilie

New member
Local time
Today, 03:05
Joined
Oct 23, 2013
Messages
4
Hi

I am having a problem with cascading combo box and list box. The combo box should provide a value in a list box and then the list box value should control other values.

I am using the following code but when I change the value in the combo box it empties the list box instead of given choises in the list box.

Hope somebody can help.


Private Sub Combo19_AfterUpdate()
On Error Resume Next
List17.RowSource = "Select QProjekt_plan.Short_describtion_patent " & _
"FROM QProjekt " & _
"WHERE QProjekt.Project_Name = '" & Combo19.Value & "' " & _
"ORDER BY QProjekt.Short_describtion_patent;"
End Sub
 
Perhaps the bound column of the combo is an ID rather than a name?
 

Users who are viewing this thread

Back
Top Bottom