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.

Conditionnal value list with field based sorting

Featured Replies

This would be so cool, if FM could integrate this feature in the next version.

Simple as

CREATE VIEW vw_Distances AS

SELECT Distance

FROM lut_Distances

WHERE unit = "km"

ORDER BY viewOrder ASC

Most DBMS offer this possibility.

So does filemaker, just pile up many instances of the same field, and let an event trigger deside which of the instances to go to, based on the circumstances. Each instance has obviously it's own popup sort order tied to it.

Admitted, would require some spit and polish from the developer.

--sd

  • Author

That's not an easy way! ;)

Hence the spit and polish!

--sd

While thinking a bit further of what you wish is the quirky bit that only hardwired valuelist keeps the original sort order, as soon as you stuff something pilcrow delimited into a field via an event trigged script on which the value is suppose to build upon will the list be using the same behaviour as ValueListItems( which sorts alfabetical and omitting duplicates if necessary.

--sd

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.