C
cinnie
greetings gurus
I am having trouble with the syntax of a query I'm trying to write. Here is
the situation, simpified to its essence:
C:/DB/A.mdb has tblNames with relevant fields CustID, CustName, CustEMail.
C:/DB/B.mdb has the same table and fields.
C:/DB/C.mdb also has the same table and fields.
Many of the names appear in 2 or 3 of the databases, but most names appear
in only one of the three databases.
Here's what I am trying to do (so far without success)...
I want the values of CustID, CustName, CustEMail that are in A.mdb
UNION
the values of CustID, CustName, CustEMail that are in B.mdb.
Then I need to remove any doubles (same PK CustID) from the resulting
recordset.
Finally, I need to EXCLUDE any of these remaining records that ALSO appear
in C.mdb.
I would be SO greatful for help. - cinnie
I am having trouble with the syntax of a query I'm trying to write. Here is
the situation, simpified to its essence:
C:/DB/A.mdb has tblNames with relevant fields CustID, CustName, CustEMail.
C:/DB/B.mdb has the same table and fields.
C:/DB/C.mdb also has the same table and fields.
Many of the names appear in 2 or 3 of the databases, but most names appear
in only one of the three databases.
Here's what I am trying to do (so far without success)...
I want the values of CustID, CustName, CustEMail that are in A.mdb
UNION
the values of CustID, CustName, CustEMail that are in B.mdb.
Then I need to remove any doubles (same PK CustID) from the resulting
recordset.
Finally, I need to EXCLUDE any of these remaining records that ALSO appear
in C.mdb.
I would be SO greatful for help. - cinnie