K
Kenny Kepler
Hello,
I have a combo-box control on a form for entering the product ID of a
product to an order. I want only the product ID's belonging to the customer
who is placing the order to be available in the list. I have created
customer profiles that store all the customers' details and the products
they use. The profile is comprised of a Customer form and a Cust_Prod
subform (customer products). The Customer form source table has fields for
all the basic details (ID, company name, address details, etc.) and is
linked to the Products table via a middle table, Cust_has_Prods (customer
has products) which has a multiple-field primary key of the cutomer's ID and
the product's ID. I then created a query to use as the source of the
subform Cust_Prod and using the form I can add products to the customer's
profile. This works great.
But I am struggling get the filtered list of products based on the
customer's ID of the current record in the Order form. I can see now that
the customer's table would not have duplicates of the customer's id and the
orders table would and that is where I am stumped.
Alll help is super extremely appreciated.
TIA,
Kenny
I have a combo-box control on a form for entering the product ID of a
product to an order. I want only the product ID's belonging to the customer
who is placing the order to be available in the list. I have created
customer profiles that store all the customers' details and the products
they use. The profile is comprised of a Customer form and a Cust_Prod
subform (customer products). The Customer form source table has fields for
all the basic details (ID, company name, address details, etc.) and is
linked to the Products table via a middle table, Cust_has_Prods (customer
has products) which has a multiple-field primary key of the cutomer's ID and
the product's ID. I then created a query to use as the source of the
subform Cust_Prod and using the form I can add products to the customer's
profile. This works great.
But I am struggling get the filtered list of products based on the
customer's ID of the current record in the Order form. I can see now that
the customer's table would not have duplicates of the customer's id and the
orders table would and that is where I am stumped.
Alll help is super extremely appreciated.
TIA,
Kenny