Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression '(h.Hora)<>#12/30/1899# and p.IdParada= AND h.idSentido=32 AND h.esVerano = '' AND h.idJornada= ( SELECT MIN(j.idJornada) FROM Jornada j INNER JOIN Horario h ON h.IdJornada = j.IdJornada WHERE h.idSentido = 32 )'.

/includes/iDatabase.inc, line 97