Hello all,
I'm in the middle of a college project to design a database for a company while at the same time learning access. I've got a slight design problem which I'm not sure how to overcome. The database is attached as a zip file as this seemed to shave 500k of the size of it, any criticisms or suggestions are welcome.
OVERVIEW
The coverage table is where users will log general media coverage and the product that relates to that coverage as well as other useful info, the two linked are MEDIA and PRODUCTS. If the media wish to review a sample of a product a table called SAMPLE_TRANSACTION is available to enter the details as and when required, this is one to one table for efficiency as there my be a lot of general news coverage but little review coverage that actually requires samples to be sent.
My problem is that the product name from the PRODUCT table needs to be entered in the COVERAGE table, yet each product could have several samples, each one needs a separate record to track where it goes, this led me to design a SAMPLE table to store details of each sample related to a PRODUCT.
I'm not sure where to link this SAMPLE table, my idea was to link it to the PRODUCTS table as one product can have many samples, yet I need to be able to link individual sample info from the SAMPLE table into the SAMPLE_TRANSACTION table.
To summarize I need to enter the product foreign key into the coverage table but I also need to be able to enter the individual sample related to the product into the SAMPLE_TRANSACTION table - How should I link these tables?
Thanks to any and all who reply.
View attachment COVERAGE_DB_V1.08.zip
I'm in the middle of a college project to design a database for a company while at the same time learning access. I've got a slight design problem which I'm not sure how to overcome. The database is attached as a zip file as this seemed to shave 500k of the size of it, any criticisms or suggestions are welcome.
OVERVIEW
The coverage table is where users will log general media coverage and the product that relates to that coverage as well as other useful info, the two linked are MEDIA and PRODUCTS. If the media wish to review a sample of a product a table called SAMPLE_TRANSACTION is available to enter the details as and when required, this is one to one table for efficiency as there my be a lot of general news coverage but little review coverage that actually requires samples to be sent.
My problem is that the product name from the PRODUCT table needs to be entered in the COVERAGE table, yet each product could have several samples, each one needs a separate record to track where it goes, this led me to design a SAMPLE table to store details of each sample related to a PRODUCT.
I'm not sure where to link this SAMPLE table, my idea was to link it to the PRODUCTS table as one product can have many samples, yet I need to be able to link individual sample info from the SAMPLE table into the SAMPLE_TRANSACTION table.
To summarize I need to enter the product foreign key into the coverage table but I also need to be able to enter the individual sample related to the product into the SAMPLE_TRANSACTION table - How should I link these tables?
Thanks to any and all who reply.
View attachment COVERAGE_DB_V1.08.zip