Hello all,
I am trying to build a query that shows all of our active employees (29) and to see who has an outstanding training session required.
I can do this by exporting the data into excel and utilizing pivot tables but my question would be how do I do this in access?
I can easily pull everyone who has received the training but I know that 3 people are missing the training.
All the training data for all employees are located in one main data table.
This is my SQL data
SELECT [Active Factory Employees].Active, tblTrainingRecordsMain.[Last Name], tblTrainingRecordsMain.[First Name], tblTrainingRecordsMain.[Course name], tblTrainingRecordsMain.[Start Date]
FROM [Active Factory Employees] INNER JOIN tblTrainingRecordsMain ON [Active Factory Employees].[Employee ID] = tblTrainingRecordsMain.EmployeeID
GROUP BY [Active Factory Employees].Active, tblTrainingRecordsMain.[Last Name], tblTrainingRecordsMain.[First Name], tblTrainingRecordsMain.[Course name], tblTrainingRecordsMain.[Start Date]
HAVING ((([Active Factory Employees].Active)=Yes) AND ((tblTrainingRecordsMain.[Course name])=[Enter Course Name]));
I am trying to build a query that shows all of our active employees (29) and to see who has an outstanding training session required.
I can do this by exporting the data into excel and utilizing pivot tables but my question would be how do I do this in access?
I can easily pull everyone who has received the training but I know that 3 people are missing the training.
All the training data for all employees are located in one main data table.
This is my SQL data
SELECT [Active Factory Employees].Active, tblTrainingRecordsMain.[Last Name], tblTrainingRecordsMain.[First Name], tblTrainingRecordsMain.[Course name], tblTrainingRecordsMain.[Start Date]
FROM [Active Factory Employees] INNER JOIN tblTrainingRecordsMain ON [Active Factory Employees].[Employee ID] = tblTrainingRecordsMain.EmployeeID
GROUP BY [Active Factory Employees].Active, tblTrainingRecordsMain.[Last Name], tblTrainingRecordsMain.[First Name], tblTrainingRecordsMain.[Course name], tblTrainingRecordsMain.[Start Date]
HAVING ((([Active Factory Employees].Active)=Yes) AND ((tblTrainingRecordsMain.[Course name])=[Enter Course Name]));