imaslowmoose Posted November 18, 2011 Posted November 18, 2011 How do I make a find show records from 2 different values in the same field. For example: a find to show all Blonde haired and Brown haired people.
dansmith65 Posted November 18, 2011 Posted November 18, 2011 Create a new find request to enter the value "Brown". 'New Record' becomes 'Add New Request' In find mode.
bcooney Posted November 18, 2011 Posted November 18, 2011 "For example: a find to show all Blonde haired and Brown haired people. " Actually, you want to FIND people that have either blonde OR brown hair.
comment Posted November 18, 2011 Posted November 18, 2011 Actually, once you have found the people whose hair is either blond OR brown, you will be showing all blond-haired people AND all brown-haired people. :devil:
bcooney Posted November 18, 2011 Posted November 18, 2011 True that, c. I edited my post to be more specific. Boolean schmoolean.
beverly Posted November 19, 2011 Posted November 19, 2011 But it's still an OR find and you get either (if there are NONE of one of the requests you get only the other, no AND there!). We just don't have to write a SQL query with the "OR" reserved word: SELECT * FROM mydb WHERE hair = 'blond' OR hair = 'brown' It's how FileMaker works. :)
comment Posted November 19, 2011 Posted November 19, 2011 But it's still an OR find and you get either IMHO, it's an OR find and you get both. To put it in more technical terms: a disjunction of predicates produces a union of sets. Or, in Filemakerese: performing a find with two find requests is the equivalent of performing a find with one of the requests, followed by extending the found set using the other request. 1
Recommended Posts
This topic is 4752 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