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.

Scripting a find in a checkbox field?

Featured Replies

I hav a field that is a bunch of checkboxes from a value list. I want to write a script to run a find with one or more of the check boxes selected. Is there a script step I could use to do that?

Any ideas?

It sounds like you want to find all records where that field is not empty. Try this:

Enter Find Mode

Set field (your checkboxes, "*")

Perform Find

  • Author

Thanks Fitch. That's what I was looking for.

You could also simply use the Perform Find [Restore] step with the asterisk as the criteria for the checkbox field.

That's true, and in FM7 I'll probably get in the habit of using Find(Restore) now that you can explicitly set Find requests from a script step. In FM6 I prefer not to do it that way -- it makes script harder to maintain IMO. I like to make it easy on myself or the next developer when it comes time to modify the script.

I completely agree. All my 5.5 projects use explicit find requests, unless it is a simple flag, then I use a comment just prior to the step stating the field and its criteria.

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.