Hello,
I am using Crystal Reports v 10.0 and I am just not able to think this one out
I am displaying credit and debit on a report that has just the detail section. The users want the report to also display a balance field so I wrote a formula:
WhilePrintingRecords;
numbervar balance;
balance := balance + {table_name.AMOUNT}
It displayed the balances OK but now I want to be able to add a month-to-date beginning balance too to the first balance amount.
So my data looks like this assuming beg balance is 10:
Debit Credit Balance
10 20 (debit+beg. balance)
10 10
20 30
So basically, I need the beginning balance to be added only to the first record in the detail section and then just add debit/credit amount.
Please advise.
Thanks !
I am using Crystal Reports v 10.0 and I am just not able to think this one out
I am displaying credit and debit on a report that has just the detail section. The users want the report to also display a balance field so I wrote a formula:
WhilePrintingRecords;
numbervar balance;
balance := balance + {table_name.AMOUNT}
It displayed the balances OK but now I want to be able to add a month-to-date beginning balance too to the first balance amount.
So my data looks like this assuming beg balance is 10:
Debit Credit Balance
10 20 (debit+beg. balance)
10 10
20 30
So basically, I need the beginning balance to be added only to the first record in the detail section and then just add debit/credit amount.
Please advise.
Thanks !