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.

Calculating fields

Featured Replies

Who can please help me with this?

I want to calculate, in a timecode database, the total of working hours in a portal, compared (looked up) from 2 fields. (for example: if field "ordercode" value =8001 and if field "ordernumber"=2002-01, then add up fields "working hours".

I hope I've explaned this clearly enough? crazy.gif

You can get the total of a field in a portal by creating a calc field:

Sum(Relationship::RelatedField)

Just put the calc field on a layout somewhere (not in the portal!).

As far as the "2 fields" stuff goes, no it's not clear, but I think the answer is to make sure that the particular relationship and related field already compares the 2 fields to make sure that it only returns the working hours if you want them included in the total.

BTW, you don't even need a portal; the calc field will work anyway.

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.