Results 1 to 4 of 4
  1. #1
    eeps24 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    39

    Question how to remove specific values within my critera (in design view)

    For example, lets say I want to query a bowl of fruit but I don't want results that have apple, oranges, pears. Lets say there's 100 types of fruit. How do I tell ms access to ignore apple, oranges and pears in my search? Im using the design view in access.

    Thank you

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    In Access you can use the = symbol to equate. Another operator is >.

    If you want to find something that is not equal to something else you could use an expression like ...
    <>"Apple"

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    For multiple parameters on same field, look at IN and NOT IN operators.

    SELECT * FROM table WHERE [fieldname] NOT IN ("apple", "orange", "pear");
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    eeps24 is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    39
    thank you both!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 01-14-2015, 12:00 PM
  2. Replies: 1
    Last Post: 10-22-2013, 07:53 PM
  3. Replies: 9
    Last Post: 10-09-2013, 08:45 AM
  4. remove design view and layout view on right click
    By sdel_nevo in forum Programming
    Replies: 2
    Last Post: 07-11-2013, 01:00 AM
  5. Replies: 2
    Last Post: 12-31-2012, 08:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums