Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting a list box to display results from a combo box 1

Status
Not open for further replies.

relax4delicutfew

Programmer
Jun 29, 2004
17
US
If Ive got a combo box named, cboRoute, and it has certain values. How do I get the list box, lstCrashes, to display the query results from a query called, qryCombo1, when a value in the combo box gets selected?

Thanks!
 
In the AfterUpdate event procedure of cboRoute, provided that the RowSource property of lstCrashes is set to "qryCombo1", you simply add this line of code:
lstCrashes.ReQuery

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top