I have a similar situation... but my problem is that.. when I used this code.... the running total is fine.. but when this total is put in group footer... it add the last records value one more time in the final total...
Means, if the records are:
200 300 400
So, the total should be 900. But it calculates 1300 (adding 400) one more time.. when I put the field in group footer section.
My code is something exactly like:
numberVar Opening Balance;
IF OnFirstRecord THEN
Opening Balance :=
{RPT_DP_CUSTOMER_STMT_SP.CLEARED_BAL}+{RPT_DP_CUSTOMER_STMT_SP.TOTAL_DR_AMT}-{RPT_DP_CUSTOMER_STMT_SP.TOTAL_CR_AMT};
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum