I have a skill/certification/training input system that revolves around one form which inputs any combination of a skill/certification or training that an employee might have. It records this in an EmployeeDetails table in the following fields : EmployeeID, SkillID, CertificationID, and TrainingID.
My problem is that when data is entered, I allow the user to input any combination of skills, certifications and training, meaning that some records are completely full, some 2/3 full, and some 1/3 full (with just a skill, a skill and a training, etc). This leaves null values in the spaces where data was not entered.
Using this SQL,
I am able to create a query which pulls the actual names of each Skill, Cert, or training, as well as the employee name, and display it in a report.
However, the report, even with HideDuplicates and CanShrink set at Yes, still shows blank lines where, I guess, the null values from the table are present. I completely understand WHY Access won't let me eliminate those values, but I don't know what I should do to accomplish my goal, which is having a report that is easy to read. I figure if I can eliminate the empty spaces in the query, I can eliminate them in the report.
Any ideas?
My problem is that when data is entered, I allow the user to input any combination of skills, certifications and training, meaning that some records are completely full, some 2/3 full, and some 1/3 full (with just a skill, a skill and a training, etc). This leaves null values in the spaces where data was not entered.
Using this SQL,
SELECT [Names Query].Name, tblCertifications.Certification_Name, tblSkills.SkillName, tblTraining.Training_Name
FROM [Names Query] RIGHT JOIN ((([tblEmployeeDetails Query] LEFT JOIN tblCertifications ON [tblEmployeeDetails Query].Certification_ID = tblCertifications.Certification_ID) LEFT JOIN tblSkills ON [tblEmployeeDetails Query].Skill_ID = tblSkills.Skill_ID) LEFT JOIN tblTraining ON [tblEmployeeDetails Query].Training_ID = tblTraining.Training_ID) ON [Names Query].Employee_ID = [tblEmployeeDetails Query].Employee_ID;
I am able to create a query which pulls the actual names of each Skill, Cert, or training, as well as the employee name, and display it in a report.
However, the report, even with HideDuplicates and CanShrink set at Yes, still shows blank lines where, I guess, the null values from the table are present. I completely understand WHY Access won't let me eliminate those values, but I don't know what I should do to accomplish my goal, which is having a report that is easy to read. I figure if I can eliminate the empty spaces in the query, I can eliminate them in the report.
Any ideas?