P
prog
Hi,
I'm working on creating 3 cascading listboxes each based on the previous
selections.
I'm using the following code to populate a listbox AND this works to
populate my second listbox.
listbox 1 afterupdate: (used to populate list2)
Dim strSQL As String
strSQL = "Select name " _
& "From table2 " _
& "Where join_column = " & Me.[List1] & " " _
& "Order by name"
Me.[List2].RowSource = strSQL
The problem I'm running into is populating my third listbox based off of the
results of the second listbox.
listbox2 afterupdate: (used to populate third listbox)
Dim strSQL As String
strSQL = "Select name2 " _
& "From table3 " _
& "Where join_column = " & Me.[List2] & " " _
& "Order by name2"
Me.[List3].RowSource = strSQL
Why is my third list box not popluating, based off of second listbox
choices?
I'm working on creating 3 cascading listboxes each based on the previous
selections.
I'm using the following code to populate a listbox AND this works to
populate my second listbox.
listbox 1 afterupdate: (used to populate list2)
Dim strSQL As String
strSQL = "Select name " _
& "From table2 " _
& "Where join_column = " & Me.[List1] & " " _
& "Order by name"
Me.[List2].RowSource = strSQL
The problem I'm running into is populating my third listbox based off of the
results of the second listbox.
listbox2 afterupdate: (used to populate third listbox)
Dim strSQL As String
strSQL = "Select name2 " _
& "From table3 " _
& "Where join_column = " & Me.[List2] & " " _
& "Order by name2"
Me.[List3].RowSource = strSQL
Why is my third list box not popluating, based off of second listbox
choices?