J
Joost de Vries
I'm trying to generate an overview for quality control coordinators using two
tables, "employees" and "inspections". To check whether monthly targets are
met, I'm trying to display the numer of inspections per employee.
My query would be somthing like: "SELECT [fields] FROM employees LEFT OUTER
JOIN inspections ON employees.id=inspections.employee AND
DATEPART("m",inspections.date)=DATEPART("m",Date());"
The problem is however that Access doesn't accept this type of Join query.
When I put the month selection criterium in the WHERE clause, not all
employees are listed (I want all of them to be listed so I can calculate the
amount of inspections that have to be done per employee).
Any suggestions how I can tackle this little problem..
I've thougt about using a Filter, but after a while there will be thousands
of inspections in the system, resulting in an extremely inefficient report..
Thanks in advance.
Kind Regards,
tables, "employees" and "inspections". To check whether monthly targets are
met, I'm trying to display the numer of inspections per employee.
My query would be somthing like: "SELECT [fields] FROM employees LEFT OUTER
JOIN inspections ON employees.id=inspections.employee AND
DATEPART("m",inspections.date)=DATEPART("m",Date());"
The problem is however that Access doesn't accept this type of Join query.
When I put the month selection criterium in the WHERE clause, not all
employees are listed (I want all of them to be listed so I can calculate the
amount of inspections that have to be done per employee).
Any suggestions how I can tackle this little problem..
I've thougt about using a Filter, but after a while there will be thousands
of inspections in the system, resulting in an extremely inefficient report..
Thanks in advance.
Kind Regards,