Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8076

Subtotal from subreport, displayed on page footer of the main report

$
0
0

Hi,

 

I need to print a subtotal on every page. My data are displayed in the detail section of the subreport.

The shared formula that I create in details section is:

 

WhilePrintingRecords;

Shared NumberVar totale;

totale:= totale + {ArticoloFattura.totale};

 

and the total are display corrected on every line. (see attachment).

 

 

In the the pagefootersection of main report, I display a formula that contains:

WhilePrintingRecords;

Shared NumberVar totale;

totale;

 

The problem is that in the first page the total are alway 0. In the next page the subtotal is the last value of the first page and so on.

 

It's my mistake?

 

Thk you for your help.

 

Sacha


Viewing all articles
Browse latest Browse all 8076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>