On 10/31/11 10:34 AM, MB Software Solutions, LLC wrote: > I've always calculating values on the fly but have recently seen an > application where for their case, they save/store the totals. I can see > this can be good where the calculations and long and intensive. > Wondered on others viewpoints on this to see what helps them decide when > to store totals.
I didn't used to do this but a few years ago I started the practice, because when you think about it, it makes no sense to do the same calculation over and over and over again when once is enough, no matter how simple the calculation is, but especially when the result requires fetching information from the database. My convention is to name these fields with a prepended "calc_" to identify them. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

