Help! Unmatched Data Query

  • Follow


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!
0
Reply Utf 5/5/2010 2:35:01 PM

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" <ChelseaS@discussions.microsoft.com> wrote in message 
news:4D49BDD3-7784-40CB-B00C-1E4712AB4831@microsoft.com...
> 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! 


0
Reply Jeff 5/5/2010 3:49:00 PM


1 Replies
466 Views

(page loaded in 0.07 seconds)

Similiar Articles:
















7/23/2012 11:58:23 AM


Reply: