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

Search String

Status
Not open for further replies.

playsted

Technical User
Joined
Jun 10, 2005
Messages
5
Location
US
I have a serach set up that searchs by about nine fields; however, I want to add a sting that can search by a range of numbers and return all the results within that range.

Andy
 
How abouth the following?
WHERE (((tbl1.fld1)="a")) OR (((tbl1.fld1)="b")) OR (((tbl1.fld1)="c")) OR (((tbl1.fld1) Between 1 And 100));

Code: Where the vision is often rudely introduced to reality!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top