?
Solved

Multiple criteria for one field in access query

Posted on 2014-11-13
5
Medium Priority
?
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
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 38

Accepted Solution

by:
PatHartman earned 2000 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 120

Expert Comment

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

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 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