G
Guest
I hope I am posting to the correct group for this, I have assumed that I need
a query to solve this problem.
I have a database of buildings, and elements within each building.
I have given each element a condition rating and a repair cost.
My boss wants an overall condition rating which is calculated from:
For each building; If the total cost for all condition rated "C" items is =>
£5,000 the overall rating will be C, or else the rating will be B.
The overall condition should automatically input this figure and since it
will be the same for all elements in a building it should appear in a parent
table.
I don't know how to get access to consider the items for each building,
especially since the ratings are alphabetical.
I will also need to qualify this with a statement which consider A ratings
and D ratings, but that is my next hurdle.
a query to solve this problem.
I have a database of buildings, and elements within each building.
I have given each element a condition rating and a repair cost.
My boss wants an overall condition rating which is calculated from:
For each building; If the total cost for all condition rated "C" items is =>
£5,000 the overall rating will be C, or else the rating will be B.
The overall condition should automatically input this figure and since it
will be the same for all elements in a building it should appear in a parent
table.
I don't know how to get access to consider the items for each building,
especially since the ratings are alphabetical.
I will also need to qualify this with a statement which consider A ratings
and D ratings, but that is my next hurdle.