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.

Portal filter for highest values

Featured Replies

  • Newbies

I have a portal showing a group of records with the following fields: title, description, serialNo, and versionNo.

I don't want to show all the records though. I am trying to filter this portal to only show the most recent version of each title.

This can be determined by finding all the records sharing the same title and finding the one from that group having the highest versionNo.

Been looking to crack this for hours now! Thanks for your help!

Do you also have a table of Titles, where each title is unique record?

It would also help to know what are the two tables involved in the relationship that your existing portal is based upon, and what is the relationship between them.

  • Author
  • Newbies

I don't have a table for the Titles yet, though this makes sense.

The original table is "Companies" from where I start navigation to various parts of the solution. Anyway, in this case the relationship is Companies::acct x Procedures::gtitle which allows the display of all records in the Procedures table.

I have created another portal that shows those records with checkbox for RevisionNeeded.

Well, if you had a table of Titles, you could create another relationship chain like:

Companies -x- Titles 2 -< Procedures 2

with records from Procedures 2 sorted by version, descending.

A portal from Companies to Titles 2, showing fields from Procedures 2, would show the most recent procedure for each title.

  • 2 weeks later...
  • Author
  • Newbies

Hey Carpal Tunnel,

I played with this and after a while I got this to work:

Companies --x--Titles --=--Procedures

A portal Titles shows 1 field "Title". From that point I only sorted the portal with Titles:modstand for in descending so the latest mod'd Procedure shows up at the top. So far, so good.

Thanks again.

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.