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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Calculate total in a form
Is this possible, and if so how do you do it?
Our form contains all fields on our table. One field is "total", which should total "M&E" and "E". We want to be able to enter on our form a dollar amount in "M&E" and "E", and have our form automatically calculate the total for us. |
#2
|
|||
|
|||
Calculate total in a form
Are you saying that your underlying table has a field named "total"? If so,
just guessing, you try to store a calculated total amount in that field, right? Unlike a spreadsheet, where this is common, Access is a relational database. You most often do NOT want to store a calculated value, mainly because you will then have to figure out how to ALWAYS keep it in sync with the values from which it is calculated. (oh yeah, other reasons like takes up extra storage unnecessarily and takes longer to retrieve from disk that to calculate in memory ...) Regards Jeff Boyce Microsoft Access MVP -- Disclaimer: This author may have received products and services mentioned in this post. Mention and/or description of a product or service herein does not constitute endorsement thereof. Any code or pseudocode included in this post is offered "as is", with no guarantee as to suitability. You can thank the FTC of the USA for making this disclaimer possible/necessary. "Munchkin" wrote in message ... Is this possible, and if so how do you do it? Our form contains all fields on our table. One field is "total", which should total "M&E" and "E". We want to be able to enter on our form a dollar amount in "M&E" and "E", and have our form automatically calculate the total for us. |
Thread Tools | |
Display Modes | |
|
|