G
Guest
Hello,
I have a form with subform.
One of the combo box controls on the subform is based on a query which pulls
a product ID based on the customer ID (selected on the main form). I.e. each
customer has a predefined list of products they can order. The query for the
subform control has a criteria =[Forms]![Order Form].customerID.
This works fine for the first time the form is used. If, however, a new
customer ID is selected in the main form, the subform control (ProductID)
does not update and still shows the list of products available for the first
customer entered.
I imagine I need to put a Requery statement somewhere. I have tried doing
this but to no avail.
Can someone give me a hand?
Thanks,
Alex
I have a form with subform.
One of the combo box controls on the subform is based on a query which pulls
a product ID based on the customer ID (selected on the main form). I.e. each
customer has a predefined list of products they can order. The query for the
subform control has a criteria =[Forms]![Order Form].customerID.
This works fine for the first time the form is used. If, however, a new
customer ID is selected in the main form, the subform control (ProductID)
does not update and still shows the list of products available for the first
customer entered.
I imagine I need to put a Requery statement somewhere. I have tried doing
this but to no avail.
Can someone give me a hand?
Thanks,
Alex