Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invoicing

Status
Not open for further replies.

dominicgingras

Technical User
Jul 15, 2002
53
CA
If you had to desing an invoicing system with two table:

table1 = general information
table2 = Details for the invoice

Would you store the invoice total in table1 or calculate that total everytime you need it?



 
My (and probably not other people's) advice: never store results that can be retrieved by calculation...

HTH
[pipe]
Daniel Vlas
Systems Consultant
danvlas@yahoo.com
 
How would you store the total in your first table?

On what event would you attach the code?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top