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.

counting Checkboxes

Featured Replies

I have a list view of data collected on line. Users chose workshops by clicking checkboxes. I would like to have FMPro addup the checkboxes checked for each different value. Is this possible?

quote:

Originally posted by Pesinos:

I have a list view of data collected on line. Users chose workshops by clicking checkboxes. I would like to have FMPro addup the checkboxes checked for each different value. Is this possible?

With the use of Summary fields, and then either a GetSummary function or a sub-summary report.

The sub-summary report is the more classic way to do it. You setup the sub-summary part by the checkbox field, then place summary fields in the parts and you will get totals or counts or whatever you are looking for on your printout.

The GetSummary function is a way to get the counts live without having to go to a printed report. However they are a bit processor intensive and you need to be careful when they are used.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

quote:

Originally posted by Pesinos:

I have a list view of data collected on line. Users chose workshops by clicking checkboxes. I would like to have FMPro addup the checkboxes checked for each different value. Is this possible?

It's possible, but you need some extra fields.

Let's say that your value list has three possibilities: Red, Blue, Green

I'm using a field name of Color.

Create three number calculation fields, IsRed, IsBlue and IsGreen. The IsRed calculation is set to:

Color = "Red"

IsBlue and IsGreen are set similarly.

This assigns a 1 to IsRed if the field is set to "Red" and assigns a 0 to IsRed if the field is either "Blue" or "Green"

Now you can use a summary field or the Sum function in three more fields (TotalRed, TotalBlue, TotalGreen) to get a total for each value in the value list.

Chuck

  • Author

Thank you I was able to use the sub summary part and also the grand total. It worked well. Thanks again.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.