Skip 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 Records Ascending and Descending

Featured Replies

  • Newbies

Greetings All,

I am looking for a modular script or custom function that I can use to sort records both ascending and descending. I'm NOT sorting records in a portal.

I know the field labels in the table view will do exactly what I want, but I can't use that view.

I need one that can do either text or numeric data. If that means two functions, that's cool too.

I know I can do this by creating scripts for each field and for each sort direction using a variable to track the sort direction, but I am looking for something with much less overhead. A custom function would probably make the most sense. Just can't find one or figure it out.

I've searched this and other forums and haven't found it. I tried to adapt something but I just couldn't wrap my brain around it.

Thanks in advance for your help.

George

A custom function won't help here.

One way or another you're going to have overhead. Either with multiple Sort[] steps or with a getfield() calc.

I wouldn't reject carthesian selfjoin portals though:

http://www.filemakerpros.com/LessSort.zip

--sd

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.