bkruger Posted June 30, 2004 Posted June 30, 2004 I need to do a find using an "And" "Or" condition. I have five fields. This criteria needs to be met for the record to be accepted into the Find results: Field1 > 0 "AND" Field2 > 0 "OR" Field3 > 0 "OR" Field4 > 0 "OR" Field5 > 0 How do I accomplish this please. Regards, Brooke
Reed Posted June 30, 2004 Posted June 30, 2004 make 4 find requests. Each of them will have >0 in field 1. And they will have >0 in Fields 2-5 respectively for each request. for any find, having criteria in two different fields is an AND search, where each different request is OR.
bkruger Posted July 1, 2004 Author Posted July 1, 2004 Thanks for your help, but apparently I am missing something. I had already tried that assuming that once a sub set of data was returned the next find would use that set of data. Upon further reading I find out that each find uses the complete set of data. Is this a version issue? I'm using version 5. Thanks, Brooke
Lee Smith Posted July 1, 2004 Posted July 1, 2004 Hi Brooke (Great Name, I have a granddaughter's with that name) No, the find as described by Reed is correct for all of the versions I have, including v5. It may be you are confused by something like the New Record Requests. If you enter all of the > 0 in ONE find request, it is called an "AND" find, meaning all of the fields in this request would have to met the > 0. To find records that all have a >0 in Field1 and >0 in one of the other fields, you need to enter each request on its own request. To do this, Enter Find Mode, enter these two entries: Field1 > 0 Field2 > 0 New Record Request (Menu-Records-New Records), enter these two entries: Field1 > 0 Field3 >0 New Record Request (Menu-Records-New Records), enter these two entries: Field1 > 0 Field4 >0 New Record Request (Menu-Records-New Records), enter these two entries: Field1 > 0 Field5 >0 Hit the Find Button. HTH Lee
bkruger Posted July 1, 2004 Author Posted July 1, 2004 Ahhh, now I see. Thanks for your help... Regards, Brooke
Recommended Posts
This topic is 7449 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