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.

newbie here: CALCULATION for total quantity for each product

Featured Replies

  • Newbies

I have a repeating field named "ProductName" and it repeats 2 times. As you can guess it is for products and what I am in need of is to track how many of each product we sell. If I have (for example) "bat" and "glove" as the two products in my repeating (2 times) field and each has a quantity of "1" as defined in a field called "Quantity", I find that I can't write a calculation that that detects that "bat" exists and has a quantity of "1" and that "glove" exists and has a quantity of "1." My calculations seem to only see the product name or quantity at the top. This makes it very hard for me to somehow keep record of the total quantity sold of each product for all records.

Any ideas? I'm new at this and need some guidance and advice. Thanks in advance.

If you read through some of the messages in this forum, you will find that as soon as anyone mentions repeating fields, the answer is always "Don't use repeating fields!" They are very inflexible and you'll find that trying to extract summary data out of them, as you are trying to do, is next to impossible.

You need to replace the repeating field with a related "line item" file, and a portal. Then, you will be able to get all the summary data that you need.

IMHO - the "Don't use repeating fields!" should be on first page of FM manual in bold size 128 points.

They are left there for compatibility reason.

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.