Click here to Skip to main content
15,909,656 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
how to code and formula in crystal report to get opening balance and closing balance ?

I Am try to make school software where a report are there are some expense and some income amount like a credit and debit as bellow

opening balance
opening balance	credit	debit	balance	
opening balance                 220000	
                20000     0     240000	
                    0   5000    235000	
                    0   1000    234000	
                 6000      0    240000	
                    0 100000    140000	
                    0  80000     60000	Closing Balance

how to get this opening balance where i select date like this
from 01-01-2016 To 30-01-2016 and so on it hows last balance as opening and end with closing balance

What I have tried:

C#
how to code and formula in crystal report to get opening balance and closing balance ?

I Am try to make school software where a report are there are some expense and some income amount like a credit and debit as bellow

opening balance
opening balance credit debit balance
opening balance 220000
20000 0 240000
0 5000 235000
0 1000 234000
6000 0 240000
0 100000 140000
0 80000 60000 Closing Balance
how to get this opening balance where i select date like this
from 01-01-2016 To 30-01-2016 and so on it hows last balance as opening and end with closing balance
Posted
Updated 14-Feb-16 3:48am
v3
Comments
Maciej Los 14-Feb-16 9:59am    
"What i have tried" section has been designed to provide extra information about the steps you did to solve your problem...
What formula you have tried to use?
Ch. Sameer 8-Jun-18 4:13am    
He want method to create this report. Not Comments.
irfanansari 15-Feb-16 4:12am    
sir i have no any formula there for i am asking

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