Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8556

Re: SubReports with Shared Variables

$
0
0

After I marked this questions to be answered I had to reverse it.  I found that my totals are running totals for my detail.

 

I have two Group Headers, GroupHeader #1 - Parts, GroupHeader #2 by Shift.

 

I have put this in either Headers for:

 

WhilePrintingRecords;

Shared NumberVar SumScrap:=0;

 

But my report is printing running totals:

 

 

Part               QTY SCRAP             SHIFT

ABC                         3                        1

ABC                         1                        1

                 TOTAL:  4                       

 

ABC                         3                         3

ABC                         2                         3

                 TOTAL: 9      // I need to show here 5 not 9 //


Viewing all articles
Browse latest Browse all 8556

Trending Articles



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