+ Reply to Thread
Results 1 to 3 of 3

"Not" criterion for Multiple Lines

  1. #1
    Forum Contributor
    Join Date
    03-22-2012
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2007
    Posts
    122

    "Not" criterion for Multiple Lines

    Hi

    I have been writing Access 2010 queries on a data base with 101 lines of data. When I do not want to retrieve data from line 09500 I add the criterion Not 09500. My question is how do I write a criterion that excludes two lines such as 09500 and 10100?

    Thank you for taking the time to read/respond to this question.

    Al

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: "Not" criterion for Multiple Lines

    Have you tried Not In ('09500','10100').

    This syntax works for other databases.
    Martin

  3. #3
    Forum Contributor
    Join Date
    03-22-2012
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2007
    Posts
    122

    Re: "Not" criterion for Multiple Lines

    Bingo - Worked perfectly.

    Thank you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1