1 2 3 4
| SELECT service1.mois, service1.semaine, service1.lundi, service1.mardi, service1.mercredi, service1.jeudi, service1.vendredi, nz([lundi])+nz([mardi])+nz([mercredi])+nz([jeudi])+nz([vendredi]) AS Total, calendrier.date
FROM calendrier INNER JOIN service1 ON (service1.semaine = calendrier.semaine) AND (calendrier.mois = service1.mois)
GROUP BY service1.mois, service1.semaine, service1.lundi, service1.mardi, service1.mercredi, service1.jeudi, service1.vendredi, nz([lundi])+nz([mardi])+nz([mercredi])+nz([jeudi])+nz([vendredi]), calendrier.date
HAVING (((service1.mois) Like [forms]![f_saisie_flux]![mois]) AND ((service1.semaine) Like [forms]![f_saisie_flux]![semaine])); |
Partager