Use a combo box to populate a list box

  • Thread starter Thread starter Hank Stalica
  • Start date Start date
H

Hank Stalica

What I want to do is select an item from a combo box and then have it
run a query that populates a list box. Is that possible? If so, how do
I do it?

Thanks..

--Hank
 
Hank

If you set the source of your listbox to a query that uses the combo box's
value as a selection criteria, the only change you'd need to make is to add
a ".Requery" to the combo box's AfterUpdate. Something like the following
line:

Me!lstYourListBox.Requery

Good luck

Jeff Boyce
<Access MVP
 
Jeff said:
Hank

If you set the source of your listbox to a query that uses the combo box's
value as a selection criteria, the only change you'd need to make is to add
a ".Requery" to the combo box's AfterUpdate. Something like the following
line:

Me!lstYourListBox.Requery

Good luck

Jeff Boyce
<Access MVP
Thanks..that got it...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top