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.

Check boxes-finding records for the checked boxes

Featured Replies

Say I have a value list with 5 entries and use that value list in a check box format for field x.

I would like to find all records where field y equals one of the checked values.

Is there an efficient sequence of script steps to do this?? I'm envisioning a loop of 'extend found set' using 'middlevalues' for each of the checked items.

There's got to be a better way!

TIA

tomp

Create a relationship matching field x to field y. Then create a script to Go to Related Records [show only related; "yourRelationship"].

  • Author

I don't understand how that would solve the problem.

If I relate x to y, and x has the list 'a,b,c,d,e', wouldn't that only 'go to' records where y was 'a,b,c,d,e' when what I want are records where y=a or y=b or y=c or y=d or y=e??

Thanks

"... x has the list 'a,b,c,d,e' ..."

No, it doesn't.

The selected options are paragraph separated, which makes them into a multi-key.

Just to keep you moving forward between Queue's help ...

If I relate x to y, and x has the list 'a,b,c,d,e', wouldn't that only 'go to' records where y was 'a,b,c,d,e'?

Nope. It will Go To Related Records[] A or B or C or D etc.

By their very nature, checkboxes (or value lists) create a multiline key, ie, each 'item' is on a separate line with a carriage return between them. So each item relates independently. So in your case, it will find (or relate) to any item in the checkbox list.

Update! Ah Vaughan! You beat me! But I certainly used many more words to say the exact same thing that you did. But I suppose some might appreciate a bit more explanation so I'll leave my post here. grin.gifblush.gif

LaRetta wink.gif

  • Author

Thanks!

I knew nothing about the existence or use of multi-line keys. Works like a champ!

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.