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.

'Sum' function using portal

Featured Replies

Hi, please forgive if the answer is obvious as I am new to Filemaker. I have two tables - Invoice and InvoiceItems. The invoice items are displayed in the Invoice using a portal. When I use the 'sum' function to give an invoice total, a blank is returned. What's up?

What field have you chosen to make the sum from, it should be a line total field given the syntax:

relationname::fieldname

...which means that if you in each line sell more than one item, could it be a calculation-field containing this:

itemCount * ItemPrice

...where the itemPrice very often is a historic value looked up from a different table with itemID as key.

--sd

  • Author

Thank you Soren for your reply. You are absolutely right. The sum is a line total of numberOfItems*Price. The Price is a lookup from the product table. Is this the reason that I am drawing a blank? If so what should I do? Regards.

Well it seems like some of the relations you're using are belonging to another TOG, what if you upload an empty clone of your stuff so I can inspect it?? You can also send it to me privately if your wish??

--sd

Set your total to be an unstored calculation, not a number with an auto-entered calculation. Changing related values will not update a field with an auto-entered calculation.

Create an account or sign in to comment

Important Information

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

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.