Hi, I need to add advanced search features in FMP, for example, there are 5 fields I want to put search criteria, there are "AND" and "OR" in each field.
Field1: State
Field2: Sex
Field3: Grade
Field4: Membership
Field5: Profession
I use checkboxes to display all the possible choices for each field. How do I make a script to search for people satisfying, say, the following criteria:
From State 1 OR State 2 OR State 3, AND
Male, AND
In Grade 1 OR Grade 2, AND
Member OR nonmember, AND
Civil Engineer OR Architects
I know how to use script to search multiple selections for a single field (counting the carriage return signs between the checkbox selections...), but don't know how to combine it with more search field.
Can I save a found set and then do find on top of this subset?
Any help greatly appreciated!