Table a with one field and records with values A, B, D
Table b with one field and records with values A, B, X, Z
Join on the field
Desired results
AA
BB
D_
_X
_Z
That is known as a FULL OUTER JOIN and is not supported in Access. You can
use a UNION query to get the results that would be returned by a full outer join.
SELECT TableA.Field, TableB.Field
FROM TableA LEFT JOIN TableB
ON TableA.Field = TableB.Field
UNION ALL
SELECT TableA.Field, TableB.Field
FROM TableA RIGHT JOIN TableB
ON TableA.Field=TableB.Field
WHERE TableA.Field is Null
John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County