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

everything but in a criteria 2

Status
Not open for further replies.

logopolis

Technical User
Oct 10, 2002
59
ES
is there a way to set a criteria to show everything but one type of entry in a field in a query.

John
 
Use <> preceding your criteria.

Text Field Example:
<>"YourCriteria"

HTH,
Eric
 
Yeah, Luceze is right. Here are some other examples...

<>"Charlie Brown"
<> 123
<> true
<> #1/1/1999#
<> Forms![abc]![text1]

The last example bars whatever value is in the text field "text1" in the form "abc".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top