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

LINK COMBO BOX PICK TO A FORM

Status
Not open for further replies.

mdavis1

Programmer
Aug 14, 2000
30
US
I HAVE A FORM THAT HAS 3 SYNCHRONIZED COMBO BOXES, YOU CAN SELECT 1) CUSTOMER 2) LOCATION 3) CATEGORY. AFTER YOU PICK THE CUSTOMER, IT FILTERS ONLY LOCATIONS FOR THAT CUSTOMER, AND AFTER U PICK LOCATION, IT ONLY SHOWS CATEGORIES FOR THE CUSTOMER AT THAT LOCATION. AFTER U SELECT THE CATEGORY, I WANT A FORM TO OPEN WITH THE INFORMATION FOR WHAT U HAVE CHOSEN. THAT'S WHAT I'M HAVING TROUBLE WITH. I CAN'T FIGURE OUT HOW TO GET THE FORM TO OPEN WITH THE FILTERED INFORMATION..ANY HELP WOULD BE GREATLY APPRECIATED. THANKS IN ADVANCE.
 
Design a form based on a query. In the query add some criteria

ie. Customer field
criteria forms!formName!comboname

do the same for the other 2 fields

This way you have query that will display record(s) that are for the customer. loc and category.

Nick
 
And then in the after_Update of the category combo box you could first check whether all combos are filled in, then:

docmd.openform "formName"

Nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top