Good morning,
And please pardon my lack of Access vocabulary. I’m just learning…
I have a table [tblProducts] that has a many-to-many relationship with itself. It connects via a junction table [tblProductsProducts] by the Product_ID field [and Product_1_Id]. Basically, there are products which have relationships with each other for various reasons, and I want to display them on a subform based on the Products form.
For example if I'm looking at the form for ProductA I want to see all of it's relationships; ProductB, ProductR and ProductZ. However, it will only show me those where it was entered in tblProductsProducts.Product_ID not where it was entered in tblProductsProducts.Product_1_ID. So if the ProductZ record was entered as the main one, then ProductA will show up on the ProductZ form (via the subform), but ProductZ will not show up on the ProductA form (via the subform).
I tried to add both links to the subform (Link Child Fields: Product_Id; Product_1_Id Link Master Fields: Product_Id; Product_Id) but that didn’t work at all, and actually removed all the other products.
Is it possible to show all of a product’s relationships to other products in the same subform?
If so, is the solution the same for reports?
Thank you
And please pardon my lack of Access vocabulary. I’m just learning…
I have a table [tblProducts] that has a many-to-many relationship with itself. It connects via a junction table [tblProductsProducts] by the Product_ID field [and Product_1_Id]. Basically, there are products which have relationships with each other for various reasons, and I want to display them on a subform based on the Products form.
For example if I'm looking at the form for ProductA I want to see all of it's relationships; ProductB, ProductR and ProductZ. However, it will only show me those where it was entered in tblProductsProducts.Product_ID not where it was entered in tblProductsProducts.Product_1_ID. So if the ProductZ record was entered as the main one, then ProductA will show up on the ProductZ form (via the subform), but ProductZ will not show up on the ProductA form (via the subform).
I tried to add both links to the subform (Link Child Fields: Product_Id; Product_1_Id Link Master Fields: Product_Id; Product_Id) but that didn’t work at all, and actually removed all the other products.
Is it possible to show all of a product’s relationships to other products in the same subform?
If so, is the solution the same for reports?
Thank you