Running Sum in query

A

alecgreen

Hi

I am trying to create a running total on a number field, dependant on
the criteria in my query. I have tried this on a report which adds up
the sum as it goes down the report, can this be replicated in a query?

Many Thanks


Alec
 
B

Bob Barrows

alecgreen said:
Hi

I am trying to create a running total on a number field, dependant on
the criteria in my query. I have tried this on a report which adds up
the sum as it goes down the report, can this be replicated in a query?
Maybe. It depends on the details which you have not provided (a few rows of
sample data in tabular format followed by desired results also in tabular
format never hurts). The idea would be to use a correlated subquery if your
data is structured in such a way to support it.
 

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