M
MB
How do I set up a database where the items in each table has a value? For
example:
tblPipeMaterial would include:
iron=6
aluminum=8
PVC=2
tblAge would include
30-39 = 3
20-29 = 2
10-20 = 1
< 10 = 0
tblPressure would include
<80 = 0
81-100 = 2
101-120 = 3
121-140 = 6
I would make each table a look-up from a list, but how do I set it up so
that when I run a report it will show the total score for each? (For
example, a PVC pipe that’s 25 years old with a water pressure of 82 would
have a total score of 6.)
Your expertise is greatly appreciated!
example:
tblPipeMaterial would include:
iron=6
aluminum=8
PVC=2
tblAge would include
40-50 = 450 yrs = 5
30-39 = 3
20-29 = 2
10-20 = 1
< 10 = 0
tblPressure would include
<80 = 0
81-100 = 2
101-120 = 3
121-140 = 6
141 = 8
I would make each table a look-up from a list, but how do I set it up so
that when I run a report it will show the total score for each? (For
example, a PVC pipe that’s 25 years old with a water pressure of 82 would
have a total score of 6.)
Your expertise is greatly appreciated!