E
EddieC
Hi,
I am trying to use Dsum (Access 97) in a query, to create a running total of
the field 'percentageOfTotalDecayedActivity' from the query
'PM_Activity_Percentages'
I have followed microsoft knowledge base article 138911 but the query
produces a zero value in the running total field 'runtot'.
I believe this may be to do with the fact that my data set contains multiple
'percentageOfTotalDecayedActivity' values for any one date, but I don't know
how best to solve it!
Please could someone help me with this, or advise me of a better way to do it.
Thanks,
EddieC.
Here is the SQL statement produced by the query at present:
SELECT
DSum("PercentageOfTotalDecayedActivity","PM_Activity_Percentages","[Collection
Confirmed Date]<=" & [DateAlias] & "") AS Runtot,
PM_Activity_Percentages.[Collection Confirmed Date] AS DateAlias
FROM PM_Activity_Percentages
GROUP BY PM_Activity_Percentages.[Collection Confirmed Date]
ORDER BY PM_Activity_Percentages.[Collection Confirmed Date];
I am trying to use Dsum (Access 97) in a query, to create a running total of
the field 'percentageOfTotalDecayedActivity' from the query
'PM_Activity_Percentages'
I have followed microsoft knowledge base article 138911 but the query
produces a zero value in the running total field 'runtot'.
I believe this may be to do with the fact that my data set contains multiple
'percentageOfTotalDecayedActivity' values for any one date, but I don't know
how best to solve it!
Please could someone help me with this, or advise me of a better way to do it.
Thanks,
EddieC.
Here is the SQL statement produced by the query at present:
SELECT
DSum("PercentageOfTotalDecayedActivity","PM_Activity_Percentages","[Collection
Confirmed Date]<=" & [DateAlias] & "") AS Runtot,
PM_Activity_Percentages.[Collection Confirmed Date] AS DateAlias
FROM PM_Activity_Percentages
GROUP BY PM_Activity_Percentages.[Collection Confirmed Date]
ORDER BY PM_Activity_Percentages.[Collection Confirmed Date];