L
Liz Hansen
Hello,
I need to compare two tables. When compared, if an employeeID is missing
from the tblDemographics, it should be added using an append query. I'm
obviously doing something wrong cause' right now it can't find the missing
records...
Tables:
Employee (main table with all records)
tblDemographics (may have missing records)
Field:
employeeid
This is the SQL statement so far:
SELECT employee.employeeid
FROM employee INNER JOIN tblDemographics ON employee.employeeid =
tblDemographics.EmployeeID
WHERE ((Not (tblDemographics.EmployeeID)=[tblDemographics]![EmployeeID]))
GROUP BY employee.employeeid;
Any help is very much appreciated.
Best,
Liz
I need to compare two tables. When compared, if an employeeID is missing
from the tblDemographics, it should be added using an append query. I'm
obviously doing something wrong cause' right now it can't find the missing
records...
Tables:
Employee (main table with all records)
tblDemographics (may have missing records)
Field:
employeeid
This is the SQL statement so far:
SELECT employee.employeeid
FROM employee INNER JOIN tblDemographics ON employee.employeeid =
tblDemographics.EmployeeID
WHERE ((Not (tblDemographics.EmployeeID)=[tblDemographics]![EmployeeID]))
GROUP BY employee.employeeid;
Any help is very much appreciated.
Best,
Liz