I`ve been using Access for years and am usually pretty good at figuring out my problems or finding the answers on forums but this issue has me really stuck so I`d appreciate some help please.
I`m working on an Orders database. In the Products form, I`ve created a subform in datasheet view for ProductDetails. These details are for the variations of colour and size in the product along with their respective prices etc. As an example, the Product might be Garage Door A and the ProductDetails might be the likes of White Door 10 feet, White Door 8 feet, Red Door 11 feet, Red Door 12 feet (more complex than that but you get the picture). My client wants to be able to have it like this as there could be lots of variations of the one product.
This seems to all work fine.
The problem lies with my Orders form.
In the Orders form, the main form contains the supplier, customer, order date etc, and there is an OrderDetail subform in datasheet view where the products need to be added - along with fields such as quantity, cost multiplier and net cost etc.
My problem is that I can`t seem to get this subform to work. It worked fine in an earlier version of the database when the products were only on a form. As soon as I tried to split the products into products and product details I`ve run into problems.
How do I combine the Product from the main Products form and the rest of the fields from the ProductDetails subform to appear in the OrderDetail subform. I`d like it to list Product then ProductDetail, e.g. Garage Door | White Door 8 feet | ..... (then things like cost, quantity etc)
What I`ve found is that the OrderDetail subform displays each record in ProductDetail. And as my query has more than three forms with one to many relationships, I also can`t add a new record to the former.
My relationships I think are set correctly.
The Parent and Child link fields on Orders is the OrderID field.
I know this is confusing to describe so I`ve uploaded a diagram of what I`m trying to achieve.
Hope this makes some kind of sense!
Thanks