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 in the heck do I make a running count...

Featured Replies

  • Newbies

I am a band director and I have a simple database set up with my potential beginners. One of the fields I have made for each record is their instrument selection (what I have decided they can play) but I need to keep a running total of how many Flutes I have chosen. How do I define a field that will return the result of how many times I have the string "Flute" in the instrument selection field. I want to see this running total on each record.

Thanks!!!

There are quite a few ways. A simple one is to create a layout with a header, subsummary when sorted by instrument and a footer. Also create a new summary field defined as "Count of" the field Instrument. Place the fields "Instrument" and the new Summary field on the layout. Sort by instrument and enter preview mode.

Another approach use two files. One would hold the instrument type with a relationship based upon the field "Instrument" to your current file. A calculation field "Total" is created in this new file defined as "Count(Relationship::Instrument)".

-bd

Okay, I'm doing this too now (chose self-joing relationship), with different data, and I'm trying to display the tallies in a report, with the desired field and the count field. However, I want to get a layout where I'm not seeing the repetitions of the occurences of a particular piece of data in the field. Using the above example, I don't want it to say "Flute" 10 times and then "Tuba" 10 times, but just "Flute" "10". Any advice?

Thanks

Bevin

The key to not seeing the data repeated is 1) place the count summary field in a subsummary part (sorted by instrument) 2) sort by instrument and 3) enter preview mode (or print the report).

-bd

ah, brilliance. once i get my head wrapped around subsummaries, they can accomplish a lot! thanks

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.