Hi
Thanks Lockwelle for your reply.
I am not able to get balance from subreport to main report. it is 0 Please help me.
I created subreport and balance is calculated in subreport i am writing below formula in detail section
shared numberVar rbalance1;
in Main report - subreport is in Page header and not suppressed
Formula in main report for balance in detail section
shared numberVar rbalance;
shared numberVar rbalance1 := 0;
IF OnFirstRecord THEN
rbalance := rbalance1 +
{@debit} -
{@dbcd}
Edited by Vishakha - 04 Feb 2010 at 10:01am