Try this and see if it doens't give you what you want:<br>
<br>
Create a module with the following code:<br>
<br>
Option Explicit...etc.<br>
<br>
Dim curTotal as Currency<br>
<br>
Public Function CTotal( curIn as Currency ) as Currency<br>
curIn=curIn + curTotal<br>
CTotal=curIn<br>
End Function<br>
<br>
Public Function CTotalZero()<br>
curTotal=0<br>
End Function<br>
<br>
Now, create your query as planned and add two calculated fields:<br>
<br>
CTot: CTotal([Amt])<br>
<br>
and <br>
<br>
CTotSet: CTotalZero()<br>
<br>
The only problem is that you will have to Show the CTotSet field...and it will be 0.00 in each resulting row. You can strip this later.<br>
<br>
The purpose of CTotSet is to assure that you start with a zero total each time that you run the query. If you don't show the row, CTotSet will not execute...and the total will accumulate between query executions.<br>
<br>
Larry Woods<br>
<br>