A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help! Unmatched Data Query



 
 
Thread Tools Display Modes
  #1  
Old May 5th, 2010, 03:35 PM posted to microsoft.public.access.queries
ChelseaS
external usenet poster
 
Posts: 2
Default Help! Unmatched Data Query

Hello! Here's what I'm trying to do, I'm not sure if an Unmatched Data Query
is the best answer or that this can even be done in Access.
I have one table that users request changes to a billing code (The billing
code table has about 20 columns). Our team updates the system (an internal
program, not Access) based off of the request. I have another table that I
imported from a reporting program that shows the change that actually occured
in our system.

I want to compare the two tables to ensure that there wasn't a typo or
missed field when we entered the information into our system.

I believe the unmatched data query only shows me the records that have
unmatched data. I need to know what the exact field is that has an error in
it.

Is this possible? I hope I made sense!
Thankyou!
  #2  
Old May 5th, 2010, 04:49 PM posted to microsoft.public.access.queries
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Help! Unmatched Data Query

Chelsea

One approach to this might be to create a query, add both tables, join them
as appropriate (?via primary key fields?), then use something like the
following for EACH field (untested):

Expression1: IIF([table1field1] [table2field1],"CHECK THIS ONE","")

.... and repeat for all fields compared.

Add in the primary key field from one of the tables, and you'll get a
listing of all the records, their IDs and any discrepancies will pop out.

If you want to see ONLY the discrepancies, then underneath each of these new
expression fields in your query, use the Selection Criterion to show:

""

That way, ONLY the discrepancies will show.

Good luck!

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"ChelseaS" wrote in message
...
Hello! Here's what I'm trying to do, I'm not sure if an Unmatched Data
Query
is the best answer or that this can even be done in Access.
I have one table that users request changes to a billing code (The billing
code table has about 20 columns). Our team updates the system (an internal
program, not Access) based off of the request. I have another table that I
imported from a reporting program that shows the change that actually
occured
in our system.

I want to compare the two tables to ensure that there wasn't a typo or
missed field when we entered the information into our system.

I believe the unmatched data query only shows me the records that have
unmatched data. I need to know what the exact field is that has an error
in
it.

Is this possible? I hope I made sense!
Thankyou!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.