>And what if he wants to mix the CANs and MUSTs and have more than one or two >sets of questions that are logically combined? > >This is the very point of my question.
If you want them to say: give me pictures that are red and have a cat in them, or that are blue and have a dog in them you would have to parse what they are asking, maybe by designing your interface well, and then run through all the file names for each OR case. All of the ANDs can be checked in one go (for each separate OR part), and then you would combine the results into one list to present to the user. If they say: give me pictures that have a cat or a dog in them, and are yellow you would have to run through all the files testing the cat OR dog part, and then run through those results with the AND yellow. In other words, I'm not sure it can be done in one line, unless maybe venn diagrams might be applied? http://www.venndiagram.com/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
