Running sum by contract nbr and Date

C

Chad Landry

I have a table with the following fields:

Contract_nbr
Draw_date
Draw_Amt

What I'd like is to have a running sum of the Draw_Amt by Date for each
contract_nbr. In other words I don't want the running sum to be cumulative
for the entire table but start afresh with each new contract nbr. I've tried
using Dsum, but I haven't had any luck.

basically I'm trying to find a point in time when a contract reached an
amount drawn.

Any help would be appreciated!



Any help would be appreciated.
 
J

Jeff Boyce

One approach might be to use a query to return the values, but use a report
based on that query to generate the "running sums".

I believe you can add a textbox control on your report in design mode, and
set its Running Sum property.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top