Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Summary

Featured Replies

How do I get a summary from one table into another?

Summary fields are local to their defined table. Use a calculation field of Sum(relationship::numberfield) to get a total of related numberfields.

  • Author

OK, bear with me please, So I have a calculation field in a table titled fillings. This field is the Sum(relationship::numberfield). After I create this field how do I link it to the other table titled Pies. What I mean is, do I create another calculation field in the Pies table? Or is it just a number field with no calculations on it? Then I create an = relationship in the relationship tab? I'm not totally new to relationships but this one is different than any of the others I've done. For one thing, I need the field in the Pies table to be a global. So I shouldn't have to create a join file, right?

Any help you can give is much appreciated.

I think I would need to see your file and have you elaborate on what you're trying to accomplish.

  • Author

Thats just it I haven't started yet. I was just planning on what I need to do before I start. Ultimately I need to now how do I get a number thats in a summary (average) field into another table? The other thing is, in the other table this number has to be a global. I guess I could always copy and paste, but I'm sure there is a more elegant way of doing it.

Thanks.

  • Author

I've attached a file of what I'm trying to do. Unfortunately I can't get it to work. I've also put comments into the file so you will know what I'm trying to do.

Example.fp7.zip

You need a couple of Cartesian relationships. Average(Info field) only applies to the current record's Info field. Using a Cartesian self-join, you can make an unstored calculation of Average(rel::Info field) give the result based on all records in the table. Similarly, you can use a Cartesian join between the two main tables and an unstored calc of rel::Average Field to pull the result to the other table. If you only need it for display purposes, then you don't need the calc and can simply put the related Average Field on your second table's layout.

See attached for changes.

Example.zip

  • Author

Thank you so so much. I was pulling my hair out with this. I have never used a Cartesian relationship before. By the way, is there a way to put a round function into the Average Field calculation? That way I don't have decimals. Thanks again.

Sure, just use Round( Average(Ex1|Info field::Info field); 2 ).

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.