1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
| SELECT Saisie.[No], Saisie.ID_Boite, Saisie.Responsable_saisie_1, Saisie.Date_Saisie_1, Saisie.Heure_Saisie_1, Saisie.Action_1, Saisie.Responsable_saisie_2, Saisie.Date_Saisie_2, Saisie.Heure_Saisie_2, Saisie.Action_2, Saisie.Duree_Saisie, Saisie.Duree_Secondes
FROM Saisie
WHERE (((Saisie.Action_1)="Débuter Saisie") AND ((Saisie.Action_2)="Pause Saisie" Or (Saisie.Action_2)="Terminer Saisie"))
UNION
SELECT Saisie.[No], Saisie.ID_Boite, Saisie.Responsable_saisie_1, Saisie.Date_Saisie_1, Saisie.Heure_Saisie_1, Saisie.Action_1, Saisie.Responsable_saisie_2, Saisie.Date_Saisie_2, Saisie.Heure_Saisie_2, Saisie.Action_2, Saisie.Duree_Saisie, Saisie.Duree_Secondes
FROM Saisie
WHERE (((Saisie.Action_1)="Reprendre Saisie") AND ((Saisie.Action_2)="Pause Saisie" Or (Saisie.Action_2)="Terminer Saisie"))
UNION
SELECT Preparation.[No], Preparation.ID_Boite, Preparation.Responsable_Preparation_1, Preparation.Date_Preparation_1, Preparation.Heure_Preparation_1, Preparation.Action_1, Preparation.Responsable_Preparation_2, Preparation.Date_Preparation_2, Preparation.Heure_Preparation_2, Preparation.Action_2, Preparation.Duree_Preparation, Preparation.Duree_Secondes
FROM Preparation
WHERE (((Preparation.Action_1)="Débuter Préparation") AND ((Preparation.Action_2)="Pause Préparation" Or (Preparation.Action_2)="Terminer Préparation"))
UNION
SELECT Preparation.[No], Preparation.ID_Boite, Preparation.Responsable_Preparation_1, Preparation.Date_Preparation_1, Preparation.Heure_Preparation_1, Preparation.Action_1, Preparation.Responsable_Preparation_2, Preparation.Date_Preparation_2, Preparation.Heure_Preparation_2, Preparation.Action_2, Preparation.Duree_Preparation, Preparation.Duree_Secondes
FROM Preparation
WHERE (((Preparation.Action_1)="Reprendre Préparation") AND ((Preparation.Action_2)="Pause Préparation" Or (Preparation.Action_2)="Terminer Préparation"))
UNION
SELECT Numerisation.[No], Numerisation.ID_Boite, Numerisation.Responsable_Numerisation_1, Numerisation.Date_Numerisation_1, Numerisation.Heure_Numerisation_1, Numerisation.Action_1, Numerisation.Responsable_Numerisation_2, Numerisation.Date_Numerisation_2, Numerisation.Heure_Numerisation_2, Numerisation.Action_2, Numerisation.Duree_Numerisation, Numerisation.Duree_Secondes
FROM Numerisation
WHERE (((Numerisation.Action_1)="Débuter Numérisation") AND ((Numerisation.Action_2)="Pause Numérisation" Or (Numerisation.Action_2)="Terminer Numérisation"))
UNION
SELECT Numerisation.[No], Numerisation.ID_Boite, Numerisation.Responsable_Numerisation_1, Numerisation.Date_Numerisation_1, Numerisation.Heure_Numerisation_1, Numerisation.Action_1, Numerisation.Responsable_Numerisation_2, Numerisation.Date_Numerisation_2, Numerisation.Heure_Numerisation_2, Numerisation.Action_2, Numerisation.Duree_Numerisation, Numerisation.Duree_Secondes
FROM Numerisation
WHERE (((Numerisation.Action_1)="Reprendre Numérisation") AND ((Numerisation.Action_2)="Terminer Numérisation" Or (Numerisation.Action_2)="Pause Numérisation"))
UNION
SELECT CQ.[No], CQ.ID_Boite, CQ.Responsable_Controle_1, CQ.Date_Controle_1, CQ.Heure_Controle_1, CQ.Action_1, CQ.Responsable_Controle_2, CQ.Date_Controle_2, CQ.Heure_Controle_2, CQ.Action_2, CQ.Duree_CQ, CQ.Duree_Secondes
FROM CQ
WHERE (((CQ.Action_1)="Débuter Contrôle Qualité") AND ((CQ.Action_2)="Pause Contrôle Qualité" Or (CQ.Action_2)="Terminer Contrôle Qualité"))
UNION
SELECT CQ.[No], CQ.ID_Boite, CQ.Responsable_Controle_1, CQ.Date_Controle_1, CQ.Heure_Controle_1, CQ.Action_1, CQ.Responsable_Controle_2, CQ.Date_Controle_2, CQ.Heure_Controle_2, CQ.Action_2, CQ.Duree_CQ, CQ.Duree_Secondes
FROM CQ
WHERE (((CQ.Action_1)="Reprendre Contrôle Qualité") AND ((CQ.Action_2)="Pause Contrôle Qualité" Or (CQ.Action_2)="Terminer Contrôle Qualité"))
UNION SELECT Remise_Forme.[No], Remise_Forme.ID_Boite, Remise_Forme.Responsable_Mise_en_forme_1, Remise_Forme.Date_Remise_Forme_1, Remise_Forme.Heure_Remise_Forme_1, Remise_Forme.Action_1, Remise_Forme.Responsable_Mise_en_forme_2, Remise_Forme.Date_Remise_Forme_2, Remise_Forme.Heure_Remise_Forme_2, Remise_Forme.Action_2, Remise_Forme.Duree_Remise_Forme, Remise_Forme.Duree_Secondes
FROM Remise_Forme
WHERE (((Remise_Forme.Action_1)="Reprendre Remise en Forme") AND ((Remise_Forme.Action_2)="Pause Remise en Forme" Or (Remise_Forme.Action_2)="Terminer Remise en Forme")) and (((ID_Boite)=[Formulaires]![F_Créateur_Rapport_Direction]![Txt_No_Boite_Rechercher].[value]))
ORDER BY [ID_Boite], [Date_Saisie_1], [Heure_Saisie_1]; |
Partager