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.

How do I setup a sum field

Featured Replies

Hope someone can help. Let's say I want to create a database that has all my employees. In that database I want a couple fields named.. Total Employees and Total Engineers ect....How do I do these total field? I think I need to do some sort of calculation for that field but I have no clue on where to start.

Thanks,

Jaser

If you just need this in a report, use Summary fields, which you would then place on a Subsummary part that is sorted by type of employee, and the same field on a Trailing Grand Summary would give the total of all employees.

However, if you need to see these numbers in Browse mode, e.g. on a data entry screen, it's a little more complicated: you'll need a "constant" field, i.e. a calculation that is simply the number 1. Let's call it One. Then, for each type of employee, a calc like this: (employeeType = "Engineer"), which will return 1 if true. Let's call this field ETEngineer. Now you need a relationship for each employeeType calc, e.g. One::ETEngineer. We'll call this ETEngineerRel. Lastly, a calc like this:

Sum (ETEngineerRel::ETEngineer)

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.