Find multiple from a variable list
I am trying to write a script to perform a multiple find from a set variable. I have a field, set as a checkbox, and then want to find all the records of that set. I scripted it to list the field as a variable, but not sure if I have to loop somehow in the script to reset each as a new variable, and if so, how? May be going to far, do I need to set as a variable or loop as a request new find (more than two checkboxes can be used).
The answer depends on the search logic you need.
If you have three check box values: Apple, Orange, Strawberry and a user clicks both Apple and Orange, do you want to find all records with Apple OR Orange or do you want to find all records with Apple AND Orange selected?
You might also want to post an example of your script.