Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Design View Criteria

Status
Not open for further replies.

ChrisHallJJ

Programmer
Jul 25, 2003
27
US
I have a query that I am having trouble with my seletion criteria. I have a table that has mulitple fields that I want to select if any one of them contain a value. I don't know how to define this in the design view...it keeps "ANDing" the fields instead of "ORing" them. When I only have two fields, it seems to work if I put one value on the "criteria line" and one on the "OR line".
Thanks in advance,
Chris
 
You may have many "OR line"...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
I am having trouble figuring out how to do this......
Chris
 
menu Insert -> Lines

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
How are ya ChrisHallJJ . . .

To [blue]OR[/blue] the fields just dropdown a line for each. Example:
Code:
[blue][tt]  Field1      Field2      Field3      Field4      Field5
*********** *********** *********** *********** ***********
Is Not Null                                     
                        Is Not Null
                                                Is Not Null[/tt][/blue]

Calvin.gif
See Ya! . . . . . .

Be sure to see thread181-473997
Also faq181-2886
 
Thank you...I did finally get this to work..I thought it wasn't, but found out my unexpected results was due to data. Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top