473,395 Members | 1,458 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Post only 1 instance of a field in an Unmatched Query

23
Hi all,

I created an unmatch query but some rows have multiple fields that do not match. Therefore access shows the same row in the query results multiple times since there are more than 1 field that do not match.

Is there a way that access only shows 1 instance of a row no matter how many differences there are in it. It will make creating a report much easier.
Oct 16 '06 #1
2 1383
MMcCarthy
14,534 Expert Mod 8TB
Why are you returning the fields that do not match? You have to decide in this case if you want the max, min, sum, first, etc. value in that field and group by the fields that do match. If you post your sql code I will have a look at it.
Oct 16 '06 #2
hibbii
23
I am trying to find data that does not match so that I can compare the current quarter with the previos quarter (These are the 2 tables that I am running the query from). I want a query that will show which project numbers had changes but if there were multiple changes in 1 project to show it only once in the query not the number of times a change was found.

Here is the SQL query

SELECT [ADT Calculated Amort Schedule (Next Quarter)].DCN AS Expr1, [ADT Calculated Amort Schedule (Next Quarter)].CostBas AS [New Cost Basis], [ADT Calculated Amort Schedule].CostBas AS [Old Cost Basis], [ADT Calculated Amort Schedule (Next Quarter)].[Start Amort Date] AS [New Start Amort Date], [ADT Calculated Amort Schedule].[Start Amort Date] AS [Old Start Amort Date], [ADT Calculated Amort Schedule (Next Quarter)].UseLife AS [New Ueful Life], [ADT Calculated Amort Schedule].UseLife AS [Old Useful Life]
FROM [ADT Calculated Amort Schedule (Next Quarter)] INNER JOIN [ADT Calculated Amort Schedule] ON [ADT Calculated Amort Schedule (Next Quarter)].DCN = [ADT Calculated Amort Schedule].DCN
WHERE ((([ADT Calculated Amort Schedule (Next Quarter)].CostBas)<>[ADT Calculated Amort Schedule].[costbas])) OR ((([ADT Calculated Amort Schedule (Next Quarter)].[Start Amort Date])<>[ADT Calculated Amort Schedule].[start amort date])) OR ((([ADT Calculated Amort Schedule (Next Quarter)].UseLife)<>[ADT Calculated Amort Schedule].[UseLife]));
Oct 17 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ellen Ricca | last post by:
I have an Access db with several ODBC linked ORACLE tables. These tables have multiple-field PK's. The tables work just fine in many diff types of queries including unmatched queries that are...
2
by: Rob | last post by:
Hello, I get an date field as a part of download in the format 01 Mar 04 12:00:00. I want this to be converted as a short date.How do i proceed? Also not connected with the above but in the same...
1
by: strauss.sean | last post by:
To all: Hi! I am trying to use an append queries on a table where the key field is numeric, formatted as 00-00-000. The query collects the information corectly, and there are no records...
5
by: themastertaylor | last post by:
I've got a system to manage various quotes for building materials for a number of sites. i want a query to produce a report that shows me who HASN'T quoted for which sites. basically so i can...
2
by: rfranzl | last post by:
Hello, I need some help, I have about 200 databases that are copies of an original database that has a similiar table in all of the databases, called "tblCodebook". What I am trying to do is to...
2
by: scolivas | last post by:
Is there a way to automate this process? I have a query that finds the "Drop Offs" by doing an unmatch query against the hard table and the live table. I want to automatically pull these...
2
by: ilikebirds | last post by:
In 1 Database(ttt) I currently have a Union Query that collects data from 4 databases (a,b,c,d) and then a MakeTable query that combines all of those into a table. ( Union A,B,C,D to make table in...
0
by: Sharon V | last post by:
This is driving me crazy - my unmatched query wizard will not display field names for any tables I choose. All my other query wizards work properly. I am running Access 2003. I have tried using...
1
by: AccessHunter | last post by:
Please Help.... I have a query with 2 tables, LegalFile and Cases. LegalFile has the field CaseID(Number Field) and Cases has CaseNbr(Text Field). I am trying to find entries that are in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.