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.

Find and sort at same time

Featured Replies

Inside an inlineaction tag, I want to find a match for a field called 'userid' and then sort the result in descending order by field 'recid'.

Userid is a user name ( which I'm trying to dedupe) and recid is a field containing the record's unique ID.

My problem is that I can't get it to work - all that happens is that the find aspect works but the sort does not appear to happen.

Here is the code I've been using:

[FMP-InlineAction: -db={CurrentDatabase}, userid={fmp-field: userid}, -sortfield=recid, -sortorder=descend, -find]

on]

Any/all help gratefully appreciated.

Graeme

  • Author

Whatever my problem was I have solved it by using a workaround of a calculation field to highlight the duplicate records thereby saving me losing the current recID.

This dispensed with the need for the inlineaction tag and its associated difficulties.

If anyone wants a more complete solution let me know.

Also I later realised the reason the code wasn't working was because the sortfield is called recordID, not recID. Doh!

Graeme

[ October 18, 2001: Message edited by: graemeaustin ]

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.