I think I have an idea, if I understand your problem.
First of all, I have two tables. Say they are customer tables, with name
address, city state zip and phone#.
If I understand your goal, it is to find when a record for John Doe has
a a different zipcode between the two tables, or a different City, or
any field which differes between the two databases. Correct? Or when
there is no John Doe record on the other table.
I am not sure why you need to make all of these joins. I would think
that this would be counterproductive. A join tends to drop records
which do not match.
I am also confused as to why the structure of this table would change
each month. Maybe it is just the data that might change each month?
If I were to be comparing two tables with the same records, in order to
make sure the data is complete, without a lot of manual stuff, I would
probably:
Create a Union query to add those two tables together.
Then, create a query to sort and sum the results, sorting and grouping
by every field and adding a CountOf field at the end.Doesn't matter what
ou are counting.
Results: Every set of identical (good) records will show once, with a
count of two.
Any record which does not have a match, (regardless of which table it is
in), or have a match but have differeing data, will have a count of
one. These are the exceptions.
Pull a third query based on the second, only giving you only those
records which have a count of one.
You now have a list of exceptions, which you can then do what you will with.
Phil