Svgmassive
asked on
Cascading Multiselect Listbox
I would like to create a listbox row source based on a selection in another listbox.Any examples for Ms Access
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Actually depends if you need to have more then one value selected, if yes then set the list box multi select property to either simple or extended and use John's suggestion otherwise set muti select to none and use it the way Pat has suggested.
Select ... From ... Where thePK = Forms!myform!lstMajor
Then in the AfterUpdate event of lstMajor, requery the dependent listbox
me.lstDependent.Requery
Or, if you prefer, you can use any other "cascading combos" solution.