mardi 14 octobre 2014

to compute opening balance for a report in jasper report dynamically


Vote count:

0




I have following data Opening balance | trans name | trans_amount | running balance 1000 add 50 50 1000 add 40 90 1000 sub 10 80


The closing balance is opening balance + running balance = 1000 + 80 = 1080


I want this closing balance to print on next page as 'new' opening balance in the report. As the number of rows can't be determined while sending data, how to do that at jrxml level by creating a variable which takes care of page changes and adjusts opening balance accordingly.



asked 36 secs ago







to compute opening balance for a report in jasper report dynamically

Aucun commentaire:

Enregistrer un commentaire