J
Jean-Paul
Hi
I have following query:
SELECT Sum(Betalingen.BEDRAG_b) AS SomVanBEDRAG_b
FROM Betalingen
GROUP BY Betalingen.DATUM
HAVING (((Betalingen.DATUM) Between
Format([Forms]![betalingen]![begin],"Short Date") And
Format([Forms]![betalingen]![einde],"Short Date")));
This should return the sum of all values "bedrag_b" for the period I defined
However,
I get a sum grouped per date and not for the whole period
What to change
Thanks
I have following query:
SELECT Sum(Betalingen.BEDRAG_b) AS SomVanBEDRAG_b
FROM Betalingen
GROUP BY Betalingen.DATUM
HAVING (((Betalingen.DATUM) Between
Format([Forms]![betalingen]![begin],"Short Date") And
Format([Forms]![betalingen]![einde],"Short Date")));
This should return the sum of all values "bedrag_b" for the period I defined
However,
I get a sum grouped per date and not for the whole period
What to change
Thanks