1 2 3
| SauvPropo = "SELECT [Commande Matériel Exxon].N°CommandeExxon, [Commande Matériel Exxon].Demandeur, [Commande Matériel Exxon].MatérielDemandé, [Commande Matériel Exxon].DateDébutExx, [Commande Matériel Exxon].DateFinExx, [Commande Matériel Exxon].NomProjetExxon, [Commande Matériel Exxon].[Nom Fournisseur], [Affaire SIE].N°AffaireSIE, [Affaire SIE].ChargéAffaire, [Affaire SIE].[Date Reception Propo], [Affaire SIE].[Date création affaire], [Affaire SIE].[Date fin affaire], [Affaire SIE].[Nombre d'heure attribuée], Matériel.[iD Matériel], Matériel.Repère, Matériel.Désignation, Posseder.[iD Matériel], Posseder.N°propo, Proposition.N°propo, Proposition.[Date Création propo], Comprendre.N°propo, Comprendre.[N°Type Action], Comprendre.[NB Heures pour une action], [Type action].Désignation INTO backupPropo IN 'C:\Transfert\La base\Archivage\Archivage.mdb'" _
& "FROM (Proposition INNER JOIN ([Commande Matériel Exxon] INNER JOIN ([Affaire SIE] INNER JOIN (Matériel INNER JOIN Posseder ON Matériel.[iD Matériel] = Posseder.[iD Matériel]) ON [Affaire SIE].N°AffaireSIE = Matériel.N°AffaireSIE) ON [Commande Matériel Exxon].N°CommandeExxon = [Affaire SIE].N°CommandeExxon) ON Proposition.N°propo = Posseder.N°propo) INNER JOIN ([Type action] INNER JOIN Comprendre ON [Type action].[N°Type Action] = Comprendre.[N°Type Action]) ON Proposition.N°propo = Comprendre.N°propo " _
& "WHERE ((([Commande Matériel Exxon].N°CommandeExxon)=" & N°Comm & "));" |
Partager