Results 1 to 2 of 2
  1. #1
    danselm is offline Novice
    Windows Vista Access 2002
    Join Date
    Feb 2012
    Posts
    1

    multiple results of query for multiple input crtieria

    two values that when their combination is identified, the DB has a value in a 3rd field that is sought after.



    Right now, the form/macro/query/report takes one data value of each of the two inputs from the form and returns single record result.

    Is it possible to put more than one set of input data pairs like on a form and hit GO and get a matching number of Results values.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Yes, can have multiple criteria pairs. The logical operator between the pairs would be OR.

    (field1 = value1a AND field2 = value2a) OR (field1 = value1b AND field2 = value2b)

    How to get those pairs into the query filter is the trick.
    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. Replies: 4
    Last Post: 09-30-2011, 10:09 PM
  2. Replies: 2
    Last Post: 08-05-2011, 01:24 PM
  3. Replies: 12
    Last Post: 12-17-2010, 05:35 PM
  4. Replies: 1
    Last Post: 02-02-2010, 07:19 AM
  5. Multiple Query Results Sorted Together
    By Rawb in forum Reports
    Replies: 1
    Last Post: 12-10-2009, 04:05 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