Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7813 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am trying to create a db with a running total.

I have a field in each record that holds a number representing a persons percentage of involvement. I have a script that raises that value by .5%.

What I would like is to have a field displaying a running total of how much of tht total percent is left. (If Tom gets 25 and Liz gets 20, there should be 55 left.) How do I add fields in differnt records togther and keep a running total that I can subtract from 100 and have a remaining percentage displayed in a field that would be the same no matter what record I am looking at?

Posted

This sounds like it could be done with a calc field and relationship.

create a relationship of all to all

create calc field c_RemainingPercentage:

100- sum(all::n_Percentage)

where n_Percentage is your number field where the individuals percentage would be entered.

HTH

-Raz

This topic is 7813 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.