Is there a way to change the unmatched query wizard (Access 2003) in order to find unmatched values from 2 tables, providing that the matched records are matched only once.
Let me explain, my query is like this :
SELECT tblB.ID, tblB.valor
FROM tblB LEFT JOIN tblC ON tblB.valor = tblC.valor
WHERE (((tblC.valor) Is Null));
ORDER BY tblB.DataM;
And my tables :
tblB tblC
id valor valor
1 1.000 3.600
2 5.000 2.000
3 5.000 1.000
4 1.500 5.000
5 1.000
The result should be : 5000, 1500, 1000
But it returns 1000.
Maybe the query should have another condition, like not allowing matches where the ID from tblB was already used. Any clues on how to do that ?
Thanks
Carlos
Let me explain, my query is like this :
SELECT tblB.ID, tblB.valor
FROM tblB LEFT JOIN tblC ON tblB.valor = tblC.valor
WHERE (((tblC.valor) Is Null));
ORDER BY tblB.DataM;
And my tables :
tblB tblC
id valor valor
1 1.000 3.600
2 5.000 2.000
3 5.000 1.000
4 1.500 5.000
5 1.000
The result should be : 5000, 1500, 1000
But it returns 1000.
Maybe the query should have another condition, like not allowing matches where the ID from tblB was already used. Any clues on how to do that ?
Thanks
Carlos