Hello All,
Some quick background on my database:
3 tables at this point
Table 1 - Products - Houses information such as product number (Primary key), product name, purity (we sell chemicals) and some other information specific to that chemical
Table 2 - Suppliers - Houses information of all our different suppliers such as name, address, contact info, etc
Table 3 - Product + Suppliers - This table holds information that is specific to both the product and that supplier. It uses the primary key from table 2 (Product number) and the primary key from table 2 (Supplier number - auto generated) to the table. Then this table holds information that only applies to this product produced from this supplier (Manufacture methods, whether this is our primary supplier for this product, etc)
In the product + suppliers table, the user must select a supplier from a supplier added into the suppliers table, as well as a product number from the products table (I think this is the case, but I am getting problems when I try and make a form)
Here is what I want to do:
I need a form that holds the information from the product table (Chemical name, purity, product number, etc) and then I also want on that form a place where I can select from the different suppliers we have purchased that product from so I can bring up the information about the product + supplier combo.
The reason being, is that we can purchase our product from many different suppliers, and can change back and fourth based on supply.
The way I have it setup I am hoping we will retain all information about old suppliers, but still be able to display the information in a user friendly environment.
I also have a navigation form and a form to add and remove suppliers from that database, but that was simple and I don't need any help.
The one thing I am struggling with is (and I know I am using the wrong terminology here) to determine what a form dictates as the master line - IE which section of the form dictates what the rest of the form will display. I want it to be the primary key (product number) so that when I change that field, the rest changes, but so far I have not been able to achieve this as the rest of the information lags behind.
I have tried to relate the two tables by using a subform (and linked what I thought to be the right master and child fields), and putting it all on the same form, but to no avail.
If anyone can throw me any help, that would be greatly appreciated. If my table relationships are wrong, or if I am going about the forms incorrectly, I am all ears. Any point in the right direction will be a blessing. Thanks everyone.