Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Guidelines for data integrity.
Message
 
To
25/03/2002 12:38:57
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00636909
Message ID:
00636920
Views:
14
Bill,

You are asking about denormalizing the database and this is a common practice. The rules I follow regading this are;

1. Always make the actual calculation the "valid" value for the data so that whenever the summary field and the calculation disagree the summary will be updated from the calcualtion.

2. Provide a method for the user to "repair" the summary data by recalculating it. i.e. a button beside the field in the data entry form to recalc the summary.

3. On important reports (like financials and such) use the calculation and not the summary field
Previous
Reply
Map
View

Click here to load this message in the networking platform