Multiple Results

F

Fie

Hi,


I used an example that was in
http://www.databasedev.co.uk/combo_box_search.html that displays
results based on a search from a combo box... the problem is, is that i
was many results that are equil to that of the topic selected in the
combo box. Can anyone tell me or show me how to display all results of
a combo box search in a list box ??


thanks
fiona
 
J

John Vinson

Hi,


I used an example that was in
http://www.databasedev.co.uk/combo_box_search.html that displays
results based on a search from a combo box... the problem is, is that i
was many results that are equil to that of the topic selected in the
combo box. Can anyone tell me or show me how to display all results of
a combo box search in a list box ??

Create a Query referencing the combo box as a criterion, using

=[Forms]![NameOfTheForm]![NameOfTheComboBox]

as a criterion. Use this Query as the rowsource property of the
listbox.

In addition you will need to Requery the listbox in the AfterUpdate
event of the combo.

John W. Vinson[MVP]
 

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

Top