Hey all,
I have a query that is trying to pull data from two tables, tblTemp and tblClasses, but for some reason it isn't pulling the correct data.
SELECT tblClasses.fldClassName, tblClasses.fldRequired, tblTemp.Group, tblClasses.fldClassType
FROM tblClasses LEFT JOIN tblTemp ON tblClasses.fldClassName = tblTemp.[Class Name]
WHERE (((tblClasses.fldClassName) Not In ([tblTemp]![Class Name])) AND ((tblClasses.fldRequired)="Yes"));
I'm guessing it has to do with the left join, but the query returns all nulls in the tblTemp.Group field, and I can't figure out why. There are data in tblTemp.Group that should be pulled back when the query is run. Any suggestions?
I have a query that is trying to pull data from two tables, tblTemp and tblClasses, but for some reason it isn't pulling the correct data.
SELECT tblClasses.fldClassName, tblClasses.fldRequired, tblTemp.Group, tblClasses.fldClassType
FROM tblClasses LEFT JOIN tblTemp ON tblClasses.fldClassName = tblTemp.[Class Name]
WHERE (((tblClasses.fldClassName) Not In ([tblTemp]![Class Name])) AND ((tblClasses.fldRequired)="Yes"));
I'm guessing it has to do with the left join, but the query returns all nulls in the tblTemp.Group field, and I can't figure out why. There are data in tblTemp.Group that should be pulled back when the query is run. Any suggestions?