J
joseph
I have been reviewing comments on the Access groups since I am new to
database creation and wanted to find a few pointers. (Forgive my
terminology, or lack of it.)
I have seen several comments about storing data in tables at the "lowest
level". That makes sense to me. But I have a question about why a
calculation would not be considered a value at that level and not allow a
calculated field in a table. I guess I do not see how that would conflict
with "good database design".
For example, in an Inventory table, why would the "Issue Cost" of an item
not be considered as a value to be stored in the table? It is certainly
unique for that inventory item, just like the Item Number would be. The only
difference I see is that it is based on other values for that item.
Many of the comments in the group have been to always recalculate the value
any time it is needed. It seems to me that doing a calculation once and
storing the value would be far more efficient than doing that calculation
many times over in various reports, etc.
I have seen some comments about making sure the calculated value is correct.
If the supporting fields change, the calculated result could change, similar
to a spreadsheet formula.
Am I missing something or am I just so new to creating a database that I
need to learn more rules?
database creation and wanted to find a few pointers. (Forgive my
terminology, or lack of it.)
I have seen several comments about storing data in tables at the "lowest
level". That makes sense to me. But I have a question about why a
calculation would not be considered a value at that level and not allow a
calculated field in a table. I guess I do not see how that would conflict
with "good database design".
For example, in an Inventory table, why would the "Issue Cost" of an item
not be considered as a value to be stored in the table? It is certainly
unique for that inventory item, just like the Item Number would be. The only
difference I see is that it is based on other values for that item.
Many of the comments in the group have been to always recalculate the value
any time it is needed. It seems to me that doing a calculation once and
storing the value would be far more efficient than doing that calculation
many times over in various reports, etc.
I have seen some comments about making sure the calculated value is correct.
If the supporting fields change, the calculated result could change, similar
to a spreadsheet formula.
Am I missing something or am I just so new to creating a database that I
need to learn more rules?