G
Guest
I've not had much luck getting help with this, so am trying again.
I need to compare the results from two queries, and produce a list of
records from query 1 that do not appear in query two. The unmatched query
wizard doesn't work, because all fields in each query are to be matched, not
just one.
eg.
query one returns all records showing
1) - Training required by Employee
employeID; First Name;Last Name; Title;Training Modules,
2) - Training completed by Employee
employeID; First Name;Last Name; Title;Training Module
What training is required for each employee is determined by title, but what
training is actually taken can be different, I need an easy way to run a
query that will scroll through the list of all the training taken, compare it
to the list of all that's needed and show me the missing training
The database is 3 main tables (employees, positions, Training Modules with
three junction tables to link many to many i.e. each employee can take
multiple training modules, even the same modules across multiple years, and
of course each module can be taken many times, by many employees.
It seems to work well for me for most other queries i want - how much
training, what type of training, but it will not deliver this one query.
I have constructed a form which does provide the information, but in a very
clumsy way, I have a form with 2 sub forms, the main being the employee
details and the sub form being 'training taken' and 'training required' - but
i have to manually scan each page to work out whose missed what.
I can get easy queries to tell me who has actually missed a module, but that
is of limited help becuase in lots of cases, those people didn't actually
require that specific module, so it's not surprising that they didnt take it -
THis has got very complicated, but I"d very extremely grateful for any
assistance
Mel Morris
I need to compare the results from two queries, and produce a list of
records from query 1 that do not appear in query two. The unmatched query
wizard doesn't work, because all fields in each query are to be matched, not
just one.
eg.
query one returns all records showing
1) - Training required by Employee
employeID; First Name;Last Name; Title;Training Modules,
2) - Training completed by Employee
employeID; First Name;Last Name; Title;Training Module
What training is required for each employee is determined by title, but what
training is actually taken can be different, I need an easy way to run a
query that will scroll through the list of all the training taken, compare it
to the list of all that's needed and show me the missing training
The database is 3 main tables (employees, positions, Training Modules with
three junction tables to link many to many i.e. each employee can take
multiple training modules, even the same modules across multiple years, and
of course each module can be taken many times, by many employees.
It seems to work well for me for most other queries i want - how much
training, what type of training, but it will not deliver this one query.
I have constructed a form which does provide the information, but in a very
clumsy way, I have a form with 2 sub forms, the main being the employee
details and the sub form being 'training taken' and 'training required' - but
i have to manually scan each page to work out whose missed what.
I can get easy queries to tell me who has actually missed a module, but that
is of limited help becuase in lots of cases, those people didn't actually
require that specific module, so it's not surprising that they didnt take it -
THis has got very complicated, but I"d very extremely grateful for any
assistance
Mel Morris