Chris Good Posted January 3, 2005 Posted January 3, 2005 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?
Fitch Posted January 3, 2005 Posted January 3, 2005 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
Chris Good Posted January 3, 2005 Author Posted January 3, 2005 Thanks Fitch. That's what I was looking for.
-Queue- Posted January 10, 2005 Posted January 10, 2005 You could also simply use the Perform Find [Restore] step with the asterisk as the criteria for the checkbox field.
Fitch Posted January 14, 2005 Posted January 14, 2005 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.
-Queue- Posted January 14, 2005 Posted January 14, 2005 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now