Filter from Form cbo to Subform cbo

W

WoodyAccess

I have a main Orders Form and a subform for OrderDetails.

When I select the supplier in the main form I want only the products from
that supplier to be listed in the cbo on the subform.

Is this a filter in the after update of the main form cbo? How would I do
this?
 
M

Matt

Use the Link Child and Link Master Fields properties of the subform to link
the PK (combobox) to the FK in the subform.
 
W

WoodyAccess

But the combo box in the main form is not a PK. The main form is Orders and
so the PK is Order Number. The cbo in the main form is then just a list of
all the suppliers, so a supplier for that order can be chosen. Then after
that is chosen I want to go to the subform (OrderDetials) and chose from a
product cbo that has only got the products from the supplier chosen in the
main form cbo?
 

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

Similar Threads

textbox info based on cbo 2
cbo on subform 3
Refresh CBO? 1
Data not staying in form cbo 4
cbo box Catch 22 situation 12
Filter Combo Box Listing 5
Requery data on subform 3
cbo box sql help req'd 8

Top