I have a training request database. I have five table: Employee, Requests, RequestDetails, Enrollment, and TrainingTopics. I'm trying to pull all requests (designated by RequestNumber in the Requests table) that did not request training from the training department (designated by TrainingRequests in the RequestDetails table). Since there are some request numbers from some employees that requested training sometimes but not always, I am having trouble figuring out how to only pull those employees, or those requests, that did not request training at all. For example: Emily turned in a request form. It is request #6. She requested two training classes from the training department but not the third. Dan turned in a request form. It was request #7. He didn't request any of the three classes from the training department. All I want in my query/report are the employees/requests like Dan, who requested zero training from the training department. But the way my database is set up, I can only figure out how to pull all employees/requests with at least one null value in the TrainingRequests field of the RequestDetails table.
My Employee table has fields: EmpID, EmpName, SpvrName, and Location
My Requests table has fields: RequestNum, EmpID, and RequestDate
My RequestDetails table has fields: LineNum, RequestNum,
EmployeeRequests, SupervisorRequests, TrainingRequests, and
Comments
My Enrollment Table has fields: EnrollID, EmpID, TopicTaken, and
DateTaken
And my Training Topics table has fields: TrainingTopics as a lookup field
from the RequestsDetails table and the Enrollment table.
So, I'm trying to pull RequestNum's with zero TrainingRequests, not just RequestNum's with zero TrainingRequests for that row, but with zero TrainingRequests for that employee.
Hopefully this made some sort of sense.
Thanks.