SELECT eo.* FROM ExtranetOfertaPuntoVenta eopv INNER JOIN ExtranetOferta eo ON eopv.IdExtranetOferta = eo.IdExtranetOferta WHERE eo.Activo = true AND IdPuntoVenta = AND CDate(FechaIni) <= CDate('26/09/2017') AND CDate(FechaFin) >= CDate('26/09/2017') ORDER BY eo.Orden ASC, eo.IdExtranetOferta ASC
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'eo.Activo = true AND IdPuntoVenta = AND CDate(FechaIni) <= CDate('26/09/2017') AND CDate(FechaFin) >= CDate('26/09/2017')'.