A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

relationship inderteminate---Fred?



 
 
Thread Tools Display Modes
  #11  
Old May 18th, 2009, 02:01 PM posted to microsoft.public.access.tablesdbdesign
Fred
external usenet poster
 
Posts: 1,451
Default relationship inderteminate---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

  #12  
Old May 18th, 2009, 05:33 PM posted to microsoft.public.access.tablesdbdesign
acss
external usenet poster
 
Posts: 153
Default relationship inderteminate---Fred?

Hi Fred,
Thanks for the support. After researching various sample data bases, I find
that the northwind DB is what i am trying to do in that in a one to many
scenario, the entry of an invoice and details items that lead up to the final
total, it is the detail items that are recorded as you state then using a
query /form /report totals are derived from these items. I find northwind as
an excellent template to customize yet i have a ways to go and hopefully my
ID wont be part of many postings, thanks again.

"Fred" wrote:

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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:42 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.