Solved

Multiple criteria for one field in access query

Posted on 2014-11-13
5
258 Views
Last Modified: 2014-11-19
I need to be able to compare two tables but need to input the criteria based on one table and then have it show me the mismatched records between the two.  Anyone have any ideas??
0
Comment
Question by:lrollins
  • 2
  • 2
5 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 40440881
use the query wizard, select Find Unmatched query wizard

as for  the multiple criteria, you use

field
table

criteria  in(1,2,3)   , for number type fields

               in("1","2","3")   , for text type fields
0
 
LVL 34

Accepted Solution

by:
PatHartman earned 500 total points
ID: 40440894
There is an unmatched query wizard that might give you a start.  It is not clear to me what you are asking for.  There wizard will create a query between two tables and show you the rows from tblA that don't have a match in tblB.  Is that what you want or are you looking for a query that joins tblA to tblB on some common field and then returns only rows where fldC in tblA is different from fldC in tblB?
0
 
LVL 1

Author Comment

by:lrollins
ID: 40440913
Yes but it has to be based a certain criteria from one of the tables and this criteria would be put in by the user.
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 40440919
ok, upload a sample db and explain in details how to proceed with the criteria
0
 
LVL 34

Expert Comment

by:PatHartman
ID: 40441455
Start by getting the basic query built.  There are a number of ways to provide criteria.  you'll need to tell us how you want to do it and how variable it is.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now