John Vinson said:
Table 1 is demographic info, such as name, position, etc
Table 2 is inservice info, such as inservice name, inservice date, employee
ID#, etc
How do I query employees who didn't do a specific inservice using inservice
ID#?
A Subquery:
SELECT [Table 1].*
FROM [Table 1]
WHERE [ID#] NOT IN
(SELECT [ID#] FROM Inservice
WHERE InserviceName = [Enter service name:])
John W. Vinson[MVP]
thanks, but I'm still unable to do query
Table 1: name, termination date "Is Null" because I only want to query
current employees
Table 2: employeeID, dateofinservice, inserviceIDNumber
Table 3: InserviceIdNumber, InserviceName
In your subquery of table 1:
WHERE [ID#] Not in - Is this employeeID?
SELECT [ID#] FROM Inservice - How do I do this?
WHERE InserviceName = [Enter service name:]) - This is in table 3. I entered
(InserviceName = [mandatories:]). Is this correct syntax? Why did Enter
Parameters box pop up?
thanks,
steve