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

In 8.0, I have status records related to client records. There can be many status change records per client. When I do a find on status record types, I'll get several records with duplicate client ID's. Lets say there's 10 records, 2 per client. The number of unique Client ID's would be 5.

Problem: How can I setup a calculation field that will correctly show the # of unique Client ID's in each found set??

Thanks in advance for your HELP!

I don't have time to answer this right now, so I'm bumping it for other members to see.

So now I do have time.

Attached is an example of what is probably the easiest way that uses very little overhead. It is scripted, with a refresh button necessary unless any operation which can change the found set is scripted, in which case you can call the script as a sub-script from your existing scripts.

There are other methods, some which use only calculations but require the found set to be sorted in order to evaluate properly. They also use much more overhead. So I would recommend a scripted method over any of them.

UniqueValuesInFoundSet.zip

Ah, so that was the question. If scripting is the way, then given (a) that the counted values are unique in the parent (Clients) table, and (:) version 8, you could also do it like this:

Go to Related Record ["Clients”] [ Show only related records; Match found set; New window ]

Set Field [ Status::gUniqueCount ; Get (FoundCount) ]

Close Window [ Current Window ]

That Match found set option kicks butt. Now I wish I had 8.

  • 2 weeks later...
  • Author

Many thanks!!!!!!!!!!!!!!

This got me what I needed. The users are very happy now!!

Thanks to you both, comment & queue!!!

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.