Discussion Locked

Listbox help

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a Access database that was created in the XP version. I have a form that has a subform embeded. On the regular form I have a combox; in the subform I have a listbox; I want the listbox in the subform to pickup every selection I pick out of the combobox on the parent form. The listbox in the subform should then have multiple data.

1 reply

by grungemann

add the following codes into mainform's combobox change event.

Me.Childform!listbox.AddItem Me.Combobox.Column(1)

add some value cheking before the above code to prevent duplicate values.

This discussion is closed to new replies.