October 5, 201510 yr Hi, I can't get the script below to return anything other than ? once I've joined the tables. Can anyone see why? TIA ExecuteSQL ( " SELECT b.ClearLearningRating, count(*) FROM LessonObservations a INNER JOIN Observations b on a.[pk] = b.[fk_TeacherEvaluations] WHERE a.obsdate >=? AND a.obsdate <= ? AND a.YearGroup = ? GROUP BY b.ClearLearningRating " ; "|"; "¶" ; $Repstartdate;$Rependdate;$RepYearGrp )
October 5, 201510 yr "?" always means a syntax error. Do your fields really have square brackets in their names?
October 5, 201510 yr Author No but even without the square brackets I'm getting the ?. I can't figure out where the syntax error is.
Create an account or sign in to comment