merci pour vos réponses à tous les deux.
Effectivement, ce qu'écrit Andrew est assez dur à comprendre.
J'ai l'impression qu'il veut dire qu'il faut se servir d'un champ qui
existe pour stocker une variable, de manière détournée(?)
est-ce qu'il y a un sous formulaire ou un formulaire dont le contenu est
une requête? c'est peut-être ça qu'il veut dire.
il faut que la requête contienne tous les champs qui contiendront les
variables à utiliser.
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]