Skip to Content
0
Former Member
Mar 26, 2010 at 09:38 AM

Problem in displaying and calculating the sub totals in a classical report

32 Views

Hi,

I am working on classical report in which i have to display the sub totals of purticular range present in IF condition.

I am using AT END OF statment and sum and .storing the value in two variables. I am displaying the these variables in other conndition so that it can be displayed . Here's the code:-



     ELSEIF ( PSCH EQ 'N' OR PSCH EQ 'O' OR PSCH EQ 'P' ).

       AT END OF SG.
         SUM.
          TBL2  = SBL1.
          PTBL2 = PSBL1.
       ENDAT.

Is there any way the values which are coming from SBL1,PSBL1 can be summed and stored in the TBL2 and PTBL2?