AllExperts > Experts 
Search      

Using MS Access

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Using MS Access Answers
Question Library

Ask a question about Using MS Access
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Scottgem
Expertise
I can answer almost all types of questions relating to Microsoft Access usage and application design. My strengths are database and interface design.

Experience
I've been designing databases for over 15 years working with dBase, FoxPro, Approach and Access.

Organizations
Author of Microsoft Office Access 2007 VBA
Techncial Editor for Special Edition Using Microsoft Access 2007 and Access 2007 Forms, Reports & Queries From Que Publishing

 
   

You are here:  Experts > Computing/Technology > Business Software > Using MS Access > MS Access - Formula text boxes storing results in table

Topic: Using MS Access



Expert: Scottgem
Date: 9/5/2008
Subject: MS Access - Formula text boxes storing results in table

Question
I am designing a database for a small company that requires to store and print invoices.
I have designed the form and have entered formulas in the Net, VAT & Total text boxes to make it easier for the user.  The problem i am having, is the amounts e.g. net, vat & total for each invoice are not being stored in the Invoice Table.
How do i produce the form so it calculates the amounts itself and stores the results in the correct fields in the table?

Answer
You don't. As a general rule we do NOT store calculated values. You can use the same expressions you have to calculate those values wherever you need to display them. Only the components of the calculation need to be stored, not the results.

Hope this helps,
Scott<>
Microsoft Access MVP 2007
Author: MS Office Access 2007 VBA

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.