I have a union query (UqryDagMutaties) on two tables that returns the following fields
BankNr (text)
DatumMutatie (date)
GrbNr (number)
Bedrag (number)
RekOmschr (text)
Omschrijving (text)
Based on this union query I have created a Totals query to show filtered records. The records are shown on ascending order by DatumMutatie (date) and filtered on GrbNr. I would like to add a field that shows the running total of "Bedrag" per unique GrbNr. I have tried with the DSUM function but have not succeeded so far. My try is:
RunTot: DSum("[Bedrag]";"UqryDagMutaties")(as expression in the total row of the query tool of Access)
I have tried to include various criteria but nothing has worked so far. I would appreciate any thoughts that could help me with this problem
BankNr (text)
DatumMutatie (date)
GrbNr (number)
Bedrag (number)
RekOmschr (text)
Omschrijving (text)
Based on this union query I have created a Totals query to show filtered records. The records are shown on ascending order by DatumMutatie (date) and filtered on GrbNr. I would like to add a field that shows the running total of "Bedrag" per unique GrbNr. I have tried with the DSUM function but have not succeeded so far. My try is:
RunTot: DSum("[Bedrag]";"UqryDagMutaties")(as expression in the total row of the query tool of Access)
I have tried to include various criteria but nothing has worked so far. I would appreciate any thoughts that could help me with this problem