P
paulinec
I am trying to run a query that shows employee's who have all qualifications
that are selected on a form.
I can do it where there is a separate table with the qualifications selected
but I would like to be able to use a table I already have which a subform of
another form.
The Fields I have in the query are StudentId and QualificationId (both from
the Student table) and I am using the following SQL in the criteria of the
QualificationId column
(SELECT Count(*) FROM tbEmployerQualRequirements WHERE [eeRequirementId] =
Forms![fmEmployerDetails]![fmEmployerEmploymentRequirements].Form![fmEmployerQualificationRequirements].Form![QualificationId]
Can anyone tell me what is wrong with this, as it is not working.
that are selected on a form.
I can do it where there is a separate table with the qualifications selected
but I would like to be able to use a table I already have which a subform of
another form.
The Fields I have in the query are StudentId and QualificationId (both from
the Student table) and I am using the following SQL in the criteria of the
QualificationId column
(SELECT Count(*) FROM tbEmployerQualRequirements WHERE [eeRequirementId] =
Forms![fmEmployerDetails]![fmEmployerEmploymentRequirements].Form![fmEmployerQualificationRequirements].Form![QualificationId]
Can anyone tell me what is wrong with this, as it is not working.