Alex Thurgood a écrit :
BonsoirLe dimanche 29 janvier 2006 à 23:08 +0100, julien cochennec a écrit :Bonjour, Pour les requêtes paramétrées c'est plutôt un bug puisque Andrew Jensen a trouvé un moyen de le faire en mode conception. En mode sql ça ne marche pas (de toute façon c'est du chinois pour moi). Voici ses explications: What I meant was that you need to add a column a second time, the column must from those columns that are already part of the query as one of the grouping columns. It is this second column that will be used for the parameterization. so - looking at your original query: SELECT SUM( "collecte"."Litrage" ), "collecte"."mois", "Adhérents"."Société", "Adhérents"."Nom", "Adhérents"."Prénom", "Adhérents"."Adresse", "Adhérents"."CP", "Adhérents"."Ville" FROM "collecte" "collecte", "Adhérents" "Adhérents" WHERE ( "collecte"."Producteur" = "Adhérents"."Nom" ) GROUP BY "collecte"."mois", "Adhérents"."Société", "Adhérents"."Nom", "Adhérents"."Prénom", "Adhérents"."Adresse", "Adhérents"."CP", "Adhérents"."Ville" I could any of these columns for the parameter mois, Société, Nom, Prénom, Adresse, CP, Ville. I could not however have used, Tel or Num EDE or Id or Date, because they are not already a grouped column. I hope that helps, and that you have success with your project. Sincerely Andrew 'Drew' Jensen Bref je n'y comprends rien! Si quelqu'un a le decodeur? a+ Rainer |
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
