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.

Featured Replies

I'm trying to setup what would seem to be a very simple calc that will show the user:

1.) Total Number of Records

2.) Total Number of Active Records

3.) Total Number of Inactive Records

1.) For the total number of records I have a simple "Get ( TotalRecordCount )" calc field setup. (That works fine)

So the user can keep old records in the db but keep track of what's current I've added a field that refers to a single value list "active" and set the field as a checkbox. This allows the user to check or uncheck the box to keep track of which records are active.

2.) To setup a count for the total active records I've created a summary field to get count of "active" records.

3.) To get a count of inactive I'm simply subtracting Total records from total active records (step 1 - step 2).

Problem is that these calculations are victim to a find. If the user performs a find function the numbers for active and inactive records become incorrect.

Anythoughts on how I can do this and not have it affected by the find function.

If you have a self join relationship from lets say the "active" field, you can do a count (TableSelfJoin:Active) and it will count all the related records. Or if you have a global field that you can set to the value Active and then you can use a Count() on those related records from the global field to the "Active' field

  • Author

Thanks for answering.

I'm not quite sure how to set that up. Could you be more specific.

Thanks.

Ok. Relationship keyed on gActive to Active. The global field will contain only the word "Active". Then you can use a Count (RelationshipName:Active) or a Sum (RelationshipName:Active) (if your Active field is boolean with just 1 being active)

  • Author

Call me an idiot. :)

I guess I need step by step instructions, I tried to set it up and couldn't get it to happen.

Thank you for your patience.

  • Author

I think I'll be able to get it from that. Thank you so much. :)

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.