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.

Show ACTIVE/INACTiVE totals

Featured Replies

  • Newbies

Hello everyone,

I hate to bother with this easy question but I just can’t seem to make it gooo.

We purchased File Maker about a week a go for our soccer team to help keep up with stats etc.

I have a layout to show the regular stuff for the players and have a pretty good grasp of how to make basic things work except this problem (this is just a regular database no joins or anything hard like that).

I have a dropdown box that I made a value list for that states ACTIVE or INACTIVE for a field I call STATUS.

I then made fields call ACTIVE TOTAL and INACTIVE TOTAL. And that is as far as I can go. No matter what calculation I attempt to impart I can not get the number of Active players to show up in the ACTIVE TOTAL field or likewise on the Inactive players (keep in mind I know almost nothing about calculations).

Could someone please help with this?

I use Filemaker 8.5 on Windows XP Home

Thank you very, very much

Brenda E.

Edited by Guest

Hi,

You can get this result with a subsummary report grouped by this activeStatus field.

Create a new layout and let FileMaker wizard do this subsummary report for you.

What you need to know is that the result needs to be sorted by this activeStatus Field, viewable in Preview Mode, and reflects the current foundset.

What you need is a summary field involving Count, that would be placed in the subsummary part

There are other method to get this count, but at first, give it a try this way.

  • Author
  • Newbies

Thank you for your answer. Im not sure if this is what I need or not.

I do not need a report, I need the totals to show up on my layout in the Active or Inactive total field.

Im I not reading your post properly? or will what you described give me what I need.

I apologize as I am really new to this database program but I want to learn.

B.E.

If what you need is the Total whatever the foundset, then you will need to set up a relationship in order to count these records.

set a calculation 'xShowActive' with this simple formula

"Active"

then add 2 new occurrence of your current Table Occurrence in the graph, one that you'd call Active, the other Inactive

Finally, create :P

1 ) a relation from your original Table Occcurence to the 'Inactive' with 'xShowActive' matching your StatusField with the relation set to "="

2 ) a relation from your original Table Occcurence to the 'Inactive' with 'xShowActive' matching your StatusField with the relation set to "not equal"

xTotalActive can now be a calculation (unstored) with a formula :

Count ( Active::playerID )

xTotalInactive can now be a calculation (unstored ) with a formula :

Count ( Inactive::playerID )

Another solution would be to change your text to a boolean result of 0 and 1. Well, so many answers.

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.