G
Guest
Hi everyone,
I am developing an Access database and I need some help to figure out how to
link the table in the proper way.
I have the tables which look like these
Orders Order_detail Product_categ
Prod_1
OrderID - PK DetailID - PK ProductCategory PK
Prod1ID - PK
ClientID - FK ProductCategory - FK Category
Prod1Name
Delivery_date OrderID - FK
Prod1_description1
..... Quantity
Prod1_description2
.....
Categ - FK
Prod_2
Prod2ID - PK
Prod2Name
Prod2_description
Categ - FK
And so I have 7 products with different number and type of descriptions
(which cannot be compacted in one table for all the products).
This result in having one foreign key - Categ (which is PK in Product
category table) - for 7 different other tables (product 1 to 7).
I am not sure that this is the correct approach of this problem.
Can anyone give me some better solution?
Thanks very much in advance,
Catalin
I am developing an Access database and I need some help to figure out how to
link the table in the proper way.
I have the tables which look like these
Orders Order_detail Product_categ
Prod_1
OrderID - PK DetailID - PK ProductCategory PK
Prod1ID - PK
ClientID - FK ProductCategory - FK Category
Prod1Name
Delivery_date OrderID - FK
Prod1_description1
..... Quantity
Prod1_description2
.....
Categ - FK
Prod_2
Prod2ID - PK
Prod2Name
Prod2_description
Categ - FK
And so I have 7 products with different number and type of descriptions
(which cannot be compacted in one table for all the products).
This result in having one foreign key - Categ (which is PK in Product
category table) - for 7 different other tables (product 1 to 7).
I am not sure that this is the correct approach of this problem.
Can anyone give me some better solution?
Thanks very much in advance,
Catalin