What are the Primary keys for your tables?
How are the Tables related?
With this query I find 113 records [ This is for final_ledger.[Vendor SKU])=[compatibility]![compproducts]
Code:
SELECT final_ledger.[Vendor SKU], compatibility.compproducts, final_ledger.[Tracking #], final_ledger.pid
FROM final_ledger, compatibility
WHERE (((final_ledger.[Vendor SKU])=[compatibility]![compproducts]));
With this query I get 834974 records which is more than you have, so this is some sort of Cartesian Product]
Code:
SELECT final_ledger.[Vendor SKU], final_tmo.[Plan Code], final_ledger.pid, final_ledger.[Tracking #]
FROM final_ledger, final_tmo
WHERE (((final_ledger.[Vendor SKU])=[final_tmo]![Plan Code]));
In an attempt to remove duplicates I set up this query that gives 2803 records
Code:
SELECT DISTINCT final_ledger.[Vendor SKU], final_tmo.[Plan Code], final_ledger.pid, final_ledger.[Tracking #]
FROM final_ledger, final_tmo
WHERE (((final_ledger.[Vendor SKU])=[final_tmo]![Plan Code]));
You may want to restructure your tables, or you may want to define your requirements in more detail.
I don't think the set up follows your initial post re compatibility.