Why did Query2 have only the MOFixed field? Need to include all fields in the query.
An aggregate query with grouping on the 3 key fields reveals that 2068 combinations have 4 records each.
SELECT Query2.EXCHID, Query2.MOfixed, Query2.CELL, Count(TX.EXCHID) AS CountOfEXCHID
FROM Query2 INNER JOIN TX ON (Query2.EXCHID = TX.EXCHID) AND (Query2.MOfixed = TX.MO) AND (Query2.CELL = TX.CELL)
GROUP BY Query2.EXCHID, Query2.MOfixed, Query2.CELL
HAVING (((Count(TX.EXCHID))>1));
You either need another key field or eliminate records from one or both tables. Use the above query with TX table and Query2 to identify the duplicate records.
The following retrieves 0 records from Query2:
SELECT Query2.* FROM Query3 INNER JOIN Query2 ON (Query3.CELL = Query2.CELL) AND (Query3.MOfixed = Query2.MO) AND (Query3.EXCHID = Query2.EXCHID) ORDER BY Query2.EXCHID, Query2.MO, Query2.CELL;
The following retrieves 4136 records from TX table:
SELECT TX.* FROM Query3 INNER JOIN TX ON (Query3.CELL = TX.CELL) AND (Query3.MOfixed = TX.MO) AND (Query3.EXCHID = TX.EXCHID) ORDER BY TX.EXCHID, TX.MO, TX.CELL;