F
Fred
Hello acss,
Nice to see you back after our precious exchange.
One of there rare exceptions to the "don't store the results of
calculations" is when the underlying number DO normally change, and you need
to store the "Old" result which was based on the old underlying values.
There are lots of reasons for this recommendation/"rule", and Beetle gave
just one of them as an example. But, even for that, "never say never"
For example, correcting an error.
Reason #2 is that it's a lot less work. If anybody makes a correction in
the underlying values, you have to make sure that the redo the total.
Long story short, about 95% of the time yo are better off not storing the
result of a calculation, and, instead, have the application calculate it at
time of need, and you are probably in the 95%
Sincerley,
Fred
Nice to see you back after our precious exchange.
One of there rare exceptions to the "don't store the results of
calculations" is when the underlying number DO normally change, and you need
to store the "Old" result which was based on the old underlying values.
There are lots of reasons for this recommendation/"rule", and Beetle gave
just one of them as an example. But, even for that, "never say never"
For example, correcting an error.
Reason #2 is that it's a lot less work. If anybody makes a correction in
the underlying values, you have to make sure that the redo the total.
Long story short, about 95% of the time yo are better off not storing the
result of a calculation, and, instead, have the application calculate it at
time of need, and you are probably in the 95%
Sincerley,
Fred