Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7252 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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?

Posted

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

Posted

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

Posted

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.

Posted

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.

This topic is 7252 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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