cummulative sums

G

Gator

I have a form where I enter a date and amounts. It is set up where several
records may have the same date but different amounts. Also, earlier dates
could be entered after later dates. I have a text field where I am deducting
a cummulative amount from a fixed amount. When I am at any given record, I
would like to take the cummulative amount of a field for the year up to that
date.
The field that I use to give me the cummulative sum for the year is
=DSum("[08rt]","Collections","Year([DatePd]) =" & Year([txtDate])), but this
remains fixed no matter what day I display. How can I use a field that will
show me the cumm sum for the year up to and including the day displayed in
the date textbox (DatePd)?
 

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