I am in the planning stages of a database that will store testing results for products.
Each product will have a set of tests (test plan) performed on them. The test plan will be different for each product.
Each batch of product produced will have all of the tests from that products test plan performed on it. These results will need to be stored in a test results table.
I have thought of two different ways to achieve this:
1) tblTestPlan contains the following fields.
Product
Test01
TestType01
HiSpec01
LoSpec01
QualSpec01
TestSort01
TestActive01 (yes/no)
TestOnCoA01 (yes/no)
.
.
.
TestOnCoA30
The above will have the same set for up to 30 Tests. This gives me a very large table with about 8x30=240 Columns.
The tblTestResults has the following fields
Product
Date
Batch#
Test01Result
Test02Result
.
.
.
Test30Result
I have the Access knowledge to get this method to work. I am just concerned about the extra long tables.
2) I keep thinking that there is a better more efficient way to design the tables. I have tried to create a many to many relationship using a junction table to set up the Test Plan and I am able to create a form showing all of the tests for a particular product.
However, I do not know how to set up a table for the results of each test using this method.
I would appreciate any input you could give me with this problem.
Each product will have a set of tests (test plan) performed on them. The test plan will be different for each product.
Each batch of product produced will have all of the tests from that products test plan performed on it. These results will need to be stored in a test results table.
I have thought of two different ways to achieve this:
1) tblTestPlan contains the following fields.
Product
Test01
TestType01
HiSpec01
LoSpec01
QualSpec01
TestSort01
TestActive01 (yes/no)
TestOnCoA01 (yes/no)
.
.
.
TestOnCoA30
The above will have the same set for up to 30 Tests. This gives me a very large table with about 8x30=240 Columns.
The tblTestResults has the following fields
Product
Date
Batch#
Test01Result
Test02Result
.
.
.
Test30Result
I have the Access knowledge to get this method to work. I am just concerned about the extra long tables.
2) I keep thinking that there is a better more efficient way to design the tables. I have tried to create a many to many relationship using a junction table to set up the Test Plan and I am able to create a form showing all of the tests for a particular product.
However, I do not know how to set up a table for the results of each test using this method.
I would appreciate any input you could give me with this problem.