Click here to Skip to main content
15,886,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a table called "account_trans", and in that, there are fields like date, credit, debit, company code, account code.

In a report, the user will input Date-1 to Date-2, so it must calculate the opening balance of each and every date. How can I do this?
Posted
Updated 23-Mar-10 8:43am
v4

1 solution

It's not specific to mySql but maybe this will help, http://www.sqlteam.com/article/calculating-running-totals[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900