forum

Home / DeveloperSection / Forums / Data Table Sum Issue

Data Table Sum Issue

Andrew Deniel189519-Jun-2013
Hi Expert,

I have a situation.

I have datatable that contains the Credit and Debit columns like this

Month   Credit     Debit
Sep       1422825      0
Oct        0                 1422825
Oct       1695017.5    0
Nov        0         1400000
Nov        0         295018

I want a balance that should be shown like this

Month     Credit     Debit       Balance
Sep       1422825      0
Oct         0        1422825      (1422825 of Credit-1422825 of Debit)=0
Oct       1695017.5    0
Nov         0         1400000     
Nov         0         295018       (1695017.5 of credit-1400000+295018)=0.5

it should be shown on crystal report how to do it.

Thanks in advance. 

Updated on 19-Jun-2013

Can you answer this question?


Answer

1 Answers

Liked By