D
Dave
I have a trying to create an error free query that is
using 2 QUERIES (Students and 95a).
The Students Query is a list of all employees, and the 95a
Queries is a list of those employees that completed the
95a course.
Not all of the students are in the 95a query. When I
query these lists I get an error message for those
students not in the 95a list. I tried using the IsNull
statement, but the error message persists.
I want the result to be a zero for those employees who did
not complete the 95a course.
Can anyone help?
Thanks
SELECT Students_A.Empl, IIf(IsNull([95a]![Compl %]),0,
[95a]![Compl %]) AS [Comp % 95a], IIf(IsNull([95a]![Quiz
Avg %]),0,[95a]![Quiz Avg %]) AS [Quiz Avg % 95a]
FROM 95a RIGHT JOIN Students_A ON [95a].Empl =
Students_A.Empl;
using 2 QUERIES (Students and 95a).
The Students Query is a list of all employees, and the 95a
Queries is a list of those employees that completed the
95a course.
Not all of the students are in the 95a query. When I
query these lists I get an error message for those
students not in the 95a list. I tried using the IsNull
statement, but the error message persists.
I want the result to be a zero for those employees who did
not complete the 95a course.
Can anyone help?
Thanks
SELECT Students_A.Empl, IIf(IsNull([95a]![Compl %]),0,
[95a]![Compl %]) AS [Comp % 95a], IIf(IsNull([95a]![Quiz
Avg %]),0,[95a]![Quiz Avg %]) AS [Quiz Avg % 95a]
FROM 95a RIGHT JOIN Students_A ON [95a].Empl =
Students_A.Empl;