G
Guest
I have have a table containing just one field (TBL_BBABYDUPES) - a list of
ID's.
I have a second table (PASBABY) containing many fields but also including
the same ID field as the other table, The ID field is unique in each table,
but there are ID's in table 2 not in table 1.
I want to use Table 1 in a Query to EXCLUDE all the records in Table 2 where
the ID also exists in Table 1.
How should I do this?
My current SQL is:
SELECT PASBABY.*
FROM PASBABY, TBL_BBABYDUPES
WHERE (((PASBABY.F_BABYID)<>[TBL_BBABYDUPES].[F_BABYID]));
But this isn't woring - I'm unsure of what is required in joining the two
tables.
ID's.
I have a second table (PASBABY) containing many fields but also including
the same ID field as the other table, The ID field is unique in each table,
but there are ID's in table 2 not in table 1.
I want to use Table 1 in a Query to EXCLUDE all the records in Table 2 where
the ID also exists in Table 1.
How should I do this?
My current SQL is:
SELECT PASBABY.*
FROM PASBABY, TBL_BBABYDUPES
WHERE (((PASBABY.F_BABYID)<>[TBL_BBABYDUPES].[F_BABYID]));
But this isn't woring - I'm unsure of what is required in joining the two
tables.