Results 1 to 2 of 2
  1. #1
    Erictsang is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    154

    Query for multi criteria

    Dear all

    I have a some trouble in using the Queries

    I have the following criteria



    a) <> cancelled
    b) [product 1] > or = 1
    c) [product 2] > or = 1

    I try to place the above in

    a) in the Criteria as it is a must
    b) and c) is either or .. how can i do that

    Eric

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Maybe:

    WHERE [fieldname] <> "cancelled" AND ([product1] >= 1 OR [product2] >= 1)
    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.

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

Similar Threads

  1. Multi Search Criteria Form/Query
    By NickWren in forum Access
    Replies: 4
    Last Post: 10-04-2016, 05:42 PM
  2. Replies: 1
    Last Post: 02-12-2013, 10:41 AM
  3. Replies: 5
    Last Post: 08-02-2012, 09:44 AM
  4. Multi-Select List Box as Criteria in Query
    By broadwat in forum Queries
    Replies: 6
    Last Post: 09-19-2011, 07:47 AM
  5. Multi Criteria Query
    By hawkins in forum Queries
    Replies: 1
    Last Post: 07-18-2011, 01:44 PM

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