I have 2 Tables I am working with at a time.
Table1 has
ID,Section, Lot, Space,Alpha Space, Last Name, First Name, MI, Interment Year, and Interment Number.
Table2 has
ID,Section, Lot, Space,Alpha Space, Last Name, First Name, MI, Interment Year, and Interment Number.
The ID fields is a concantination of the Section, Lot, Space and Alpha Space. Example looks like this.
19-256-9B
Each table has the same
ID setup, the
ID is not a Primary Key, there is no primary key anywhere.
What I want the query to do is, check to see if everything in
Table1 is the same as everything in
Table2.
Table1 comparing to
Table2, I put all the fields in the tables into a query, in the order above.
In the
Last Name, First Name, MI, Interment Year, and Interment Number columns I put
<>[Table1]![Last Name], in the
Table2 Last Name critieria spot. I do the same for the other fields. On the
Table1 side I put "is null" in the
Last Name, First Name, MI, Interment Year, and Interment Number critieria spots.
I have been getting all the records I need to do this but I get extra records also. Let say
Table1 has a record with
Last Name, First Name, NO MI, Int Year and Int#; and
Table2 has a record with the same
ID with
Last Name, First Name, NO IM, Int Year, and Int#. Since there is no
MI info in both tables I dont need it to show up in the query. How do I get it to not show up, because there are 90,000 or so records in each table and there is alot of extra stuff. I hope this helps to figure out my problem.
Thanks again.
[/u]