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

OK... I'm a relative beginner to this. 

 

Is there an easy way to implement sorting by clicking on the column header in a list view? I've done some searches and tried to implement this (http://www.filemakerhacks.com/?p=2341) but I'm getting errors (Some fields in the sort order are invalid or cannot be sorted. You must remove these fields from the sort order before performing a sort.)

 

Is there a  fairly straight forward way to implement this functionality?

 

 

There is no built-in list view column header sort capability in FM. (Table view, however, does have it built-in, but table view is more often a developer-only layout).

 

Kevin's technique is as straightforward as it'll get, if you want the asc<>desc toggle. If you don't, then just change your column header to a button and assign it a Sort Records script step, and call it a day.

 

Remember, context is everything in FM. The error that you're getting suggests that the fields that are in the sort order are not available given the context of the layout. Kevin uses two fields only for the sort and populates them dynamically. There's a sample file.

Hi Nick,

 

Why not post a copy of your file so that we can see what you have. This can often move your question along faster.

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.