Running Total field

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

pulp_

Thread Starter
Joined
Jan 13, 2003
Messages
5
I have a field that is a total. When another field is updated, the total field is subtracted that amount. I want to keep that total in other records. Liek, if the total field hass 100 in it, and I put 5 in another field, the total field will then say 95. When I add a new record, I want that total field to have 95 in it. When I do it now, it is blank. How do I keep that total number for each record added. Thanks for the help!
 
Joined
Feb 12, 2001
Messages
3,420
It would really help to know what software you are using. Access, Excel, etc.

If you are using Access, I will strongly suggest against doing what you are trying to do. It's called storing a calculated field in a table and I'll explain why it's not suggested. If you have twenty records in your DB and then realize that you entered 5 on the first record when it was supposed to be 10, you have to manually go back and edit all the total fields.

The better idea is to calculate the totals on the fly. Have an "on hand" value store somewhere and subtract the other values.

Let me know if that makes sense...
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top