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.

Finding "highest" occurance

Featured Replies

I need to find the most recent instance of a client's order record and return only that one.

Order table could have zero, one or multiple (but more than likely never more than 50) order records. For those with multiple order records, I need to return only the most recent.

I can do the find based on just the client ID. That's the easy part. Based on other threads I've read, I see that the script can sort the found set. The part I'm confused about is how do I show just the first one?

Thanks

Christopher

"I can do the find based on just the client ID. That's the easy part. Based on other threads I've read, I see that the script can sort the found set. The part I'm confused about is how do I show just the first one?"

Do you want the first one, or the most recent?

Since you can do the find based on client, just sort by order date using descending order. That will show you the "last, or most recent" order placed.

Could it be something in the vicinity of this you're seeking?

http://www.kevinfrank.com/download/classroom-averages.zip

--sd

  • Author

That did it. A little tweak here and there but I'm certain this is what I'm looking for.

Thank you

Christopher

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.