I'm new to Access/database design and I'm having trouble figuring out how to best configure my tables.
I'm designing a database to keep track of quality control testing of a chemical's stability (i.e. the chemical is kept long term at 2 different temperatures). We are storing several different lots of this chemical at those 2 temperatures. Every 3 months all the lots at both temperatures are pulled and tested using several assays.
So I have multiple lots of the chemical all undergoing multiple tests/assays every 3 months.
I want to design a database that can allow personnel to enter in new test results as they come in. I will also create reports to display the data but that's down the line.
Here's what I have so far but I'm sure it has room for improvement:
tblTests:
TestID (PK, autonumber)
TestName (text) (lists the name of the different tests used)
Units (text) (i.e. the units of that particular test's result)
tblLots:
LotID (PK, autonumber)
LotName (text)
TempID (FK from tblTemps)
tblTemps:
TempID (PK, autonumber)
Temp (holds the values of the 2 storage temperatures)
tblResults:
ResultID (PK, autonumber)
TestID (FK from tblTests)
LotID (FK from tblLots)
TestResult (number) (i.e. the value of the test result)
TestTime (number) (months in storage)
Does anyone have any recommendations for how I could best organize my tables?
Thanks!
I'm designing a database to keep track of quality control testing of a chemical's stability (i.e. the chemical is kept long term at 2 different temperatures). We are storing several different lots of this chemical at those 2 temperatures. Every 3 months all the lots at both temperatures are pulled and tested using several assays.
So I have multiple lots of the chemical all undergoing multiple tests/assays every 3 months.
I want to design a database that can allow personnel to enter in new test results as they come in. I will also create reports to display the data but that's down the line.
Here's what I have so far but I'm sure it has room for improvement:
tblTests:
TestID (PK, autonumber)
TestName (text) (lists the name of the different tests used)
Units (text) (i.e. the units of that particular test's result)
tblLots:
LotID (PK, autonumber)
LotName (text)
TempID (FK from tblTemps)
tblTemps:
TempID (PK, autonumber)
Temp (holds the values of the 2 storage temperatures)
tblResults:
ResultID (PK, autonumber)
TestID (FK from tblTests)
LotID (FK from tblLots)
TestResult (number) (i.e. the value of the test result)
TestTime (number) (months in storage)
Does anyone have any recommendations for how I could best organize my tables?
Thanks!