D
David Jones
I'm trying to create a query that will give me a Running
Total of a field TBTN example below of what it should
look like.
RACEID FIN BTN TBTN
2003100 1 0.00 0.00
2003100 2 0.50 .50
2003100 3 1.75 2.25
2003100 4 0.25 2.50
2003100 5 1.25 3.75
2003101 1 0.00 0.00
2003101 2 5.00 5.00
2003101 3 0.15 5.15
I have tried the following SQL Staement,
SELECT RUNNERS.RACEID, Sum(RUNNERS.BTN) AS SumOfBTN, DSum
("[BTN]","[RUNNERS]","[RACEID]<=" & [RUNNERS].[RACEID])
AS TBTN
FROM RUNNERS
GROUP BY RUNNERS.RACEID;
but it shows.
RACEID BTN TBTN
2003100 3.75 3.75
2003101 5.15 8.90
Any help would be much appreciated.
2002101
Total of a field TBTN example below of what it should
look like.
RACEID FIN BTN TBTN
2003100 1 0.00 0.00
2003100 2 0.50 .50
2003100 3 1.75 2.25
2003100 4 0.25 2.50
2003100 5 1.25 3.75
2003101 1 0.00 0.00
2003101 2 5.00 5.00
2003101 3 0.15 5.15
I have tried the following SQL Staement,
SELECT RUNNERS.RACEID, Sum(RUNNERS.BTN) AS SumOfBTN, DSum
("[BTN]","[RUNNERS]","[RACEID]<=" & [RUNNERS].[RACEID])
AS TBTN
FROM RUNNERS
GROUP BY RUNNERS.RACEID;
but it shows.
RACEID BTN TBTN
2003100 3.75 3.75
2003101 5.15 8.90
Any help would be much appreciated.
2002101