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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Between two sets of ranges 1

Status
Not open for further replies.

MICKI0220

IS-IT--Management
Jul 20, 2004
337
US
I have a query that separates equipment id's for a report. It worked fine with one set of "Between (6700) and (6799): However, they just added some new equipment with a range of numbers farther than these. So I also need to add to the criteria "And Between (16400) and (16450). I have not found out the correct syntax to make this work. Right now it looks like this:

(Between (6700) and (6799)) and (Between (16400) and (16450)
 
(Between (6700) and (6799)) OR (Between (16400) and (16450)

MichaelRed


 
Thanks, I figured it out yesterday as I was leaving, but I didn't have the time to repost. Thanks for the response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top