andreas_udby
Registered User.
- Local time
- Today, 19:29
- Joined
- May 7, 2001
- Messages
- 76
How can I compare two nearly-identical tables to see which records/fields within them are different?
For background: I have built an Access tool that allows me to generate some fairly complex reports at the touch of a button. The tool is fed an Excel spreadsheet that is downloaded monthly and forwarded to me by an IT manager.
The problem is that, occasionally, things such as job titles and business unit names change, and I have to update my Access queries to accommodate them. I don't mind doing this, but the real issue is that I don't know if things have changed until I run the report and see numbers that are way out of alignment.
I'd like to be able to upload this month's spreadsheet and run a query or macro that compares it to last month's and then produces a report (or datasheet form) that tells me which records aren't the same and which fields within those records are different. This would greatly simplify my life, as I wouldn't have to paw through thousands of records looking for the defect.
Any advice on how to approach this would be greatly appreciated. Thanks!
For background: I have built an Access tool that allows me to generate some fairly complex reports at the touch of a button. The tool is fed an Excel spreadsheet that is downloaded monthly and forwarded to me by an IT manager.
The problem is that, occasionally, things such as job titles and business unit names change, and I have to update my Access queries to accommodate them. I don't mind doing this, but the real issue is that I don't know if things have changed until I run the report and see numbers that are way out of alignment.
I'd like to be able to upload this month's spreadsheet and run a query or macro that compares it to last month's and then produces a report (or datasheet form) that tells me which records aren't the same and which fields within those records are different. This would greatly simplify my life, as I wouldn't have to paw through thousands of records looking for the defect.
Any advice on how to approach this would be greatly appreciated. Thanks!