Correct me if I'm wrong but it is possible to use SQL as a control source isn't it?
I try to use,
SELECT Count(tblEmployeeCourses.[Employee No]) As [RecNumPeep]
FROM tblEmployeeCourses INNER JOIN tblCourseVariables ON tblEmployeeCourses.[Course Code] = tblCourseVariables.CCode
WHERE ((tblEmployeeCourses.[Course Date]) = ([Forms]![frmCourseVariables]![CoDate]));
but I get an error about Access doesn't recognise a field name, yet these are all the correct field names, I've doublechecked.
Anyone know of another reason for this error?
Cheers,
Pete
I try to use,
SELECT Count(tblEmployeeCourses.[Employee No]) As [RecNumPeep]
FROM tblEmployeeCourses INNER JOIN tblCourseVariables ON tblEmployeeCourses.[Course Code] = tblCourseVariables.CCode
WHERE ((tblEmployeeCourses.[Course Date]) = ([Forms]![frmCourseVariables]![CoDate]));
but I get an error about Access doesn't recognise a field name, yet these are all the correct field names, I've doublechecked.
Anyone know of another reason for this error?
Cheers,
Pete