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.

Sort unique values in portal from related menu

Featured Replies

What I have:

One DB

One field for "manufacturer and car model"

The same in separated fields "manufacturer" and "car models" by calculation from first.

Conditional value list based in "manufacturer" and "car models"

If I select "BMW" in the first pop-up, the second sorts "318, 225, 525, etc"

What I need:

I need to select "BMW" and sort the related values in one portal alphabeticaly and omit repeated values. Now I see "525, 318i, 320, 318i (again), etc"

Is that possible?

Thank you

Hello,

Use a selfjoin on your "manufacturerandcarmodel" field.

Showuniquerecord = Case(Record_ID = Max(Seljoin::Record_ID),"Model", " ").

and

Sortfield = Case(not Is empty (Showuniquerecord), 1,0)

You could therefore B)

- use this Showuniquerecord in a Valuelist

- use a portal and display these records. This solution doesn't omit any record, but you can sort the relationship on

A. Sortfield (to show in first the not empty values)

B. Alphabetical sort on Models.

Or you could find a way to index Showuniquerecord and then use a relationship from a constant number field = 1 at left side and Showuniquerecord at right side to really omit the duplicates.

Hope this can help.

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.