V
vepha
Hi Everyone,
I want to be prompt to give a value for the Sum of CounOfX. For example
query should ask me to give a value and show me only the group sums equal or
more than that given value. I hope i could explain it.
SELECT qry_d2.Kunde, Sum(qry_d2.CountOfKunde) AS SummevonCountOfKunde
FROM qry_d2
GROUP BY qry_d2.Kunde, Format$(qry_d2.Erfassungsdatum,' yyyy'),
qry_d2.CountOfKunde, qry_d2.KundenNr
HAVING (((qry_d2.Kunde)=IIf([Kunde] Is Not Null,[Kunde],"leer")) AND
((qry_d2.KundenNr)=IIf([KundenNr] Is Not Null,[KundenNr],"leer")));
Thanks you all very much in advance
Vefa
I want to be prompt to give a value for the Sum of CounOfX. For example
query should ask me to give a value and show me only the group sums equal or
more than that given value. I hope i could explain it.
SELECT qry_d2.Kunde, Sum(qry_d2.CountOfKunde) AS SummevonCountOfKunde
FROM qry_d2
GROUP BY qry_d2.Kunde, Format$(qry_d2.Erfassungsdatum,' yyyy'),
qry_d2.CountOfKunde, qry_d2.KundenNr
HAVING (((qry_d2.Kunde)=IIf([Kunde] Is Not Null,[Kunde],"leer")) AND
((qry_d2.KundenNr)=IIf([KundenNr] Is Not Null,[KundenNr],"leer")));
Thanks you all very much in advance
Vefa