why doesnt this work

ice-9

Registered User.
Local time
Today, 05:17
Joined
May 21, 2004
Messages
88
I have to tables.
one dummy and one main. The have the same fields.
the dummy is filled by a form.
i want to see where they are diffrent. But the query shows all the dummys records. I just want it to show the record that doesnt exists in the main table.


SELECT DISTINCT AttendenceDummy.MeetingCode, AttendenceDummy.EmployeeCode
FROM Attendance INNER JOIN AttendenceDummy ON Attendance.MeetingCode = AttendenceDummy.MeetingCode
WHERE (((AttendenceDummy.EmployeeCode)<>Exists (select Attendance.EmployeeCode from Attendance )));
 
A number of problems here. Quickest solution would be to use the unmatched record wizard in Access.
 

Users who are viewing this thread

Back
Top Bottom