+ Reply to Thread
Results 1 to 3 of 3

How to get multiple criteria in query?

  1. #1
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    How to get multiple criteria in query?

    I have a query where I would like to pull criteria from another table or form... I can get it to work when using a form but if the form has more than one record it only uses the 1st one.

    Not sure if there is a way to use multiple criteria from another table or form... I can't use that table to run a query. I've tried...

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: How to get multiple criteria in query?

    You will need to be more specific in your request. Perhaps if you loaded your db with dummy data so that we can see exactly what you are trying to accomplish. I cannot re-create your issue without more information and the easiest way is for you to provide the data in tables. It would also help if you provide your SQL statement and explain which fields you are trying to extract based upon what criteria.

    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-25-2012
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    71

    Re: How to get multiple criteria in query?

    What type of query are you trying to run; Select, Update, Append... ? This does create a difference in how to create the query. Is the criteria in the second table formatted the same as the original? If so, did you try creating a query where the two tables are joined by the field where the criteria is applied?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Query Multiple Web Pages> Sort For Specific Criteria > Save Lists of Sort in txt files
    By Tlandress in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 01-15-2013, 12:09 AM
  2. Multiple query criteria to filter cell value?
    By Loki89 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-18-2012, 04:36 AM
  3. Query criteria based of other query data
    By jik_ff in forum Access Tables & Databases
    Replies: 6
    Last Post: 03-12-2012, 05:26 PM
  4. Microsoft query criteria help
    By WOKeefe in forum Excel General
    Replies: 1
    Last Post: 11-01-2011, 06:10 PM
  5. Q on Entering a Criteria within a Query
    By John in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2005, 04:25 PM

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