I have a listbox that gets filled from an earlier listbox being mutiselect. The 1st listbox is for selecting a sport or sports. The second list fills with player names that are applicable. However the user wants 2 conditions. The first is that after selecting the sport/sports, he does not want list 2 to show records until a user starts typing into a search textbox below the list. How/If to do? I cannot hard code it in the list prior to running as a new rowsource gets put in.
List1 supplies rowsource to List 2 as=
Me.LPlayers.RowSource = "SELECT DISTINCT TXCLIPS.NNAME AS Player" _
& " FROM TXMASTERS INNER JOIN TXCLIPS ON TXMASTERS.ID1 = TXCLIPS.ID1 " _
& "WHERE (((TXMASTERS.SportorSports) In (" & Mid(strList1, 2) & ")));"
Thanks
List1 supplies rowsource to List 2 as=
Me.LPlayers.RowSource = "SELECT DISTINCT TXCLIPS.NNAME AS Player" _
& " FROM TXMASTERS INNER JOIN TXCLIPS ON TXMASTERS.ID1 = TXCLIPS.ID1 " _
& "WHERE (((TXMASTERS.SportorSports) In (" & Mid(strList1, 2) & ")));"
Thanks