query for a bank statement

A

aa

I have a table which shows activity on a bank accouint for a certain
period. There is a field "amount" where withdrawals are shown as negative
and money credited are positive. I need to present it as a bank statement
adding a field with the balance after each transaction.

I am trying to figure out a query which would add a new field where the
balance afrew which transaction is shown, i.e. the value of "amount" from
the current line plus the value of the balance from the previous line.
Will someone provide a hint?
 
A

Allen Browne

Could you do this as a report?

On a report, you could add the Amount field twice.
In the 2nd copy, set the Running Sum property to: Over Group
It will sum all the withdrawals and credits, and act as a balance.
 

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