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

exclude from query

Status
Not open for further replies.

Zorro1265

Technical User
Nov 14, 2000
181
US
I have a list box that is populated by a query. The items populating this are names which also have an id number associated with them. I want to use the query and exclude certain names using the id number. I have tried
Not 24 or 25 or 26
Not Like 24 or 25 or 26
This either excludes the first number or doesnt work at all. I assume this can be done but I am lost.

Thanks!
 
try not in(1,2,100,...) John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top