O
Opal
I am running Access 2003 and I am trying to create an
unmatched append query. I import date to a temporary
table from excel once a week and I want to be able to
append any new data from my temporary table into my
working table. I went through the unmatched
query wizard and got the results I wanted. I then
changed the query to an append query and when I
attempt to run it get the following error:
Duplicate output destination
My SQL is as follows:
INSERT INTO EmpInfo ( EmpInfo.EmpNumber, EmpInfo.LastName,
EmpInfo.FirstName, EmpInfo.GLLink, EmpInfo.HireDate, EmpInfo.JobTitle,
EmpInfo.EmpNumber )
SELECT DISTINCT EmpInfoTemp.EmpNumber, EmpInfoTemp.LastName,
EmpInfoTemp.FirstName, EmpInfoTemp.GLLink, EmpInfoTemp.HireDate,
EmpInfoTemp.JobTitle, EmpInfo.EmpNumber
FROM EmpInfoTemp INNER JOIN EmpInfo ON EmpInfoTemp.EmpNumber =
EmpInfo.EmpNumber
WHERE (((EmpInfo.EmpNumber) Is Null));
Could someone help me get this query to work? Thank you!
unmatched append query. I import date to a temporary
table from excel once a week and I want to be able to
append any new data from my temporary table into my
working table. I went through the unmatched
query wizard and got the results I wanted. I then
changed the query to an append query and when I
attempt to run it get the following error:
Duplicate output destination
My SQL is as follows:
INSERT INTO EmpInfo ( EmpInfo.EmpNumber, EmpInfo.LastName,
EmpInfo.FirstName, EmpInfo.GLLink, EmpInfo.HireDate, EmpInfo.JobTitle,
EmpInfo.EmpNumber )
SELECT DISTINCT EmpInfoTemp.EmpNumber, EmpInfoTemp.LastName,
EmpInfoTemp.FirstName, EmpInfoTemp.GLLink, EmpInfoTemp.HireDate,
EmpInfoTemp.JobTitle, EmpInfo.EmpNumber
FROM EmpInfoTemp INNER JOIN EmpInfo ON EmpInfoTemp.EmpNumber =
EmpInfo.EmpNumber
WHERE (((EmpInfo.EmpNumber) Is Null));
Could someone help me get this query to work? Thank you!