January 3, 200521 yr 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?
January 3, 200521 yr 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
January 10, 200521 yr You could also simply use the Perform Find [Restore] step with the asterisk as the criteria for the checkbox field.
January 14, 200521 yr 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.
January 14, 200521 yr 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