J
John
I have a table with about 70 "skills" which are based
on an employee survey (to be used for an emergency)
such as Electrician or Roofer or many others
Each skill will be blank or have an X
I have a MainMenu form with a ListBox that is linked
to a list of skills, so the emergency Coordinator may
select a particular skill, and then print a report
I have created a Query (code below) which is SUPPOSED
to then select out of the Employee table when the skill
has an X in the individual, selected data field (I cut
a lot out of the query, since it is so long)
My IDEA is that the where clause will use the selection
from the form, so if I select ROOFER on the form, the
where clause will check the ROOFER field in the employee
table, and return all records where there is an X
It is not working... no errors, just nothing shows
Any help is appreciated
SELECT Employee.RealName, Employee.Myidnum, Employee.WsuTitle,
Employee.WsuDiv, Employee.PhoneHome, Employee.PhoneCell,
Employee.Email, Employee.MyAdrs, Employee.Miles, Employee.Crisis,
Employee.YearCrisis, Employee.EmtCert, Employee.YearEmtCert,
Employee.FirstAid, Employee.YearFirstAid, Employee.Nurse
FROM Employee
WHERE [forms]![MainMenu]![SelectSkill] = "X";
on an employee survey (to be used for an emergency)
such as Electrician or Roofer or many others
Each skill will be blank or have an X
I have a MainMenu form with a ListBox that is linked
to a list of skills, so the emergency Coordinator may
select a particular skill, and then print a report
I have created a Query (code below) which is SUPPOSED
to then select out of the Employee table when the skill
has an X in the individual, selected data field (I cut
a lot out of the query, since it is so long)
My IDEA is that the where clause will use the selection
from the form, so if I select ROOFER on the form, the
where clause will check the ROOFER field in the employee
table, and return all records where there is an X
It is not working... no errors, just nothing shows
Any help is appreciated
SELECT Employee.RealName, Employee.Myidnum, Employee.WsuTitle,
Employee.WsuDiv, Employee.PhoneHome, Employee.PhoneCell,
Employee.Email, Employee.MyAdrs, Employee.Miles, Employee.Crisis,
Employee.YearCrisis, Employee.EmtCert, Employee.YearEmtCert,
Employee.FirstAid, Employee.YearFirstAid, Employee.Nurse
FROM Employee
WHERE [forms]![MainMenu]![SelectSkill] = "X";