Prev: Check Box query help
Next: Need some query help.....
From: ChelseaS on 5 May 2010 10:35 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!
From: Jeff Boyce on 5 May 2010 11:49 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(a)discussions.microsoft.com> wrote in message news:4D49BDD3-7784-40CB-B00C-1E4712AB4831(a)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!
|
Pages: 1 Prev: Check Box query help Next: Need some query help..... |