Jump to content

Calculating total for same field,different records


tj7

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

Recommended Posts

In the File menu you will find Define Relationships. Select that and you will get a dialog box, click on the New button. An open file dialog will appear, select the file you want to make the relationship by clicking on Open. You will now get a dialog which shows both files and the fields in each. Select a field from each list. If you want to allow creation of related records, click on that box. Click The OK button and your relationship is created.

This is in the manual.

Link to comment
Share on other sites

ralphl - Before your response I figured out how to create a relationship the problem I'm having now is totaling the sum for all records lets say field A 10 records. I can total fields within 1 record Sum(Election small::A,Election small::F) Election small is relationship name, but not combined for several records. I think it must be the expression correct.

Link to comment
Share on other sites

You must have a relationship between the table you are doing the sum and the table that contains the records you want the sum of, even if they are the same table. The calculation is Sum(TO::Field A). In your relationship chart you have TO1 and TO2 related by some field. Now in the table that TO1 represents make the calculation Sum (TO2:Field A). Replace TO1 & TO2 with the names of the TO's in your chart.

Link to comment
Share on other sites

This topic is 6996 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.