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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filtering Criteria for a Combo Box

Status
Not open for further replies.

Azie

Technical User
Aug 19, 2001
10
US
I have a combo box (Vehicles), and I want to filter on the criteria CustomerID to only show the vehicles for that particular CustomerID
 
Set up a query with criterion for the Customer ID field to "like Forms![Form1]![Text1]" where Form1 is your form and Text1 is the control with the current customer's Id in it. (Your set up may differ - this is just to illustrate).
Then set the combo box's RowSourceType to Table/Query and the RowSource to the name of the query. Have fun! :eek:)

Alex Middleton
 
Check out this FAQ as well:

How do I limit the contents of one combo box based on the selection in another?
faq702-681 Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top