Jump 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.

Calculation Problem

Featured Replies

Hi all,

First off, question is pretty straight forward. It is probably answered in another post but I either didn't find it or couldn't really understand what was going on in the others to figure out a solution.

I am trying to sum a line from portal into a field. The item is "Total Weight." I found a formula in a post that I thought would work like this; "Sum(Portal_Relation::Payments), but it doesn't. Again, maybe I just don't understand it or how to make it into the results I want. If someone could please break it down step by step, as I am still new to FM7, I would really appreciate it.

Abomb

Replace Portal_Relation::Payments with the name of the relationship and the field you want to sum.

Step by step:

File - Define - Database

Fields

Select table

Field Name: type Sum

Type: Calculation

click on Create

Scroll down the function list until you reach Sum (Right side of dialog box)

Double click on Sum

Selecte related table (Top left side of dialog box)

Find the field in box below table name

Double click on field name

Click OK button

Click OK button

Go to layout

enter layout mode

add the field sum

I hope I didn't overdo this

  • Author

Got It. Thank you very much. laugh.gif

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.