Print Page | Close Window

showing subtotal per page

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=7660
Printed Date: 04 May 2024 at 7:15pm


Topic: showing subtotal per page
Posted By: mehmet
Subject: showing subtotal per page
Date Posted: 11 Sep 2009 at 12:51am

Hi friends,

I have problem about showing subtotal per page. for example I wanna show the subtotal field at report header every page, but at last page I wanna show grandtotal. the schema is below.
If you wanna help meü I'm so glad.
 
Keep Battling!
 
 
page1
    PRODUCT NUMBER        AMOUNT
1- 100.120.200.100             12
2- 100.100.100.100             10
 
                               SubTotal: 22
 
page 2
    PRODUCT NUMBER        AMOUNT
3- 100.120.200.100             5
4- 100.100.100.100             3
  
                               SubTotal: 30
 
page 3 (last page)
    PRODUCT NUMBER        AMOUNT
3- 100.120.200.100             2
4- 100.100.100.100             3
  
                               GrandTotal: 35
 
 



Replies:
Posted By: vanitha
Date Posted: 11 Sep 2009 at 2:44am
Hi,
Declare a shared variable in report header, then add your subtotal with that shared variable on each page footer, so you can get grand total on last page..


Posted By: mehmet
Date Posted: 11 Sep 2009 at 3:51am
how to declare shared variable? vanitha...



Print Page | Close Window