1 2 3
| SELECT facture.LearningObjectTitle, facture.EventCode, facture.[StartDateTime(Date)], facture.[StartDateTime(Time)], facture.[EndDateTime(Time)], facture.[EndDateTime(Date)], facture.location, facture.plan, facture.adresse, facture.UserName, facture.FirstName, facture.LastName, facture.GroupTitle, facture.Status, facture.Civilite, facture.code_site, [reseau-VPTR]![Code Contrat] AS code_contrat, facture.Nom_concatene, facture.nbre_de_jours, facture.[duree_(h)], facture.AttendanceCharge, facture.prix_par_jour, facture.TVA_montant, facture.TTC, facture.concatenn, facture.n_semaine, [reseau-VPTR]![DENOMINATION COMMERCIALE] AS DENOMINATION_COMMERCIALE, [reseau-VPTR]![ADRESSE 11] AS ADRESSE_11, [reseau-VPTR]![ADRESSE 21] AS ADRESSE_21, [reseau-VPTR].CP1, [reseau-VPTR].VILLE1, [reseau-VPTR].TELEPHONE, [reseau-VPTR].TELECOPIE, "FACTURE" AS Fact_avoir, Format(Now(),"dd/mm/yyyy") AS date_fact
FROM ((cre_category INNER JOIN Tous_les_groupes ON cre_category.category = Tous_les_groupes.Category) INNER JOIN [reseau-VPTR] ON cre_category.type_de_site = [reseau-VPTR].[Type Site]) INNER JOIN facture ON (Tous_les_groupes.Title = facture.GroupTitle) AND ([reseau-VPTR].[Code Site] = facture.code_site)
GROUP BY facture.LearningObjectTitle, facture.EventCode, facture.[StartDateTime(Date)], facture.[StartDateTime(Time)], facture.[EndDateTime(Time)], facture.[EndDateTime(Date)], facture.location, facture.plan, facture.adresse, facture.UserName, facture.FirstName, facture.LastName, facture.GroupTitle, facture.Status, facture.Civilite, facture.code_site, [reseau-VPTR]![Code Contrat], facture.Nom_concatene, facture.nbre_de_jours, facture.[duree_(h)], facture.AttendanceCharge, facture.prix_par_jour, facture.TVA_montant, facture.TTC, facture.concatenn, facture.n_semaine, [reseau-VPTR]![DENOMINATION COMMERCIALE], [reseau-VPTR]![ADRESSE 11], [reseau-VPTR]![ADRESSE 21], [reseau-VPTR].CP1, [reseau-VPTR].VILLE1, [reseau-VPTR].TELEPHONE, [reseau-VPTR].TELECOPIE, "FACTURE", Format(Now(),"dd/mm/yyyy"); |
Partager