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.

making a random list

Featured Replies

Hello,

I have a group of records that needs to be searched to find the records meeting certain criteria...from the found set that meets the criteria, I need to do several random samples of the list, extracting 7 unique records each time. Is there a way to use random to get each unique set of seven records from the found set ( the found set is usually between 55 - 70 records....

Thanks,

Tom

[color:blue]I have a group of records that needs to be searched to find the records meeting certain criteria...

Alright, see attached demo for ideas. The User would enter the original find criteria (or you can use Find Request for it) but let's assume it is User specified and the criteria is Age = 22.

[color:blue]from the found set that meets the criteria, I need to do several random samples of the list, extracting 7 unique records each time.

The find produces 14 records with Age = 22. This is truly not enough for a good random sample but it should give you the approach. System asks you how many random records to produce. You can 1) re-use the same Find (user specified) by script-step 'Modify Last Find', 2) Split the random portion from the main script so it can keep finding different '7' records for the same set.

Does this move you forward a bit? If not, provide more specifics and we'll work through it.

LaRetta :wink2:

RandomUniqueSet.zip

Edited by Guest
I updated the demo with proper comments

  • Author

Thanks,

that definitely gets me on the right course!!

Thanks,

Tom

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.