Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: showing subtotal per page Post Reply Post New Topic
Author Message
mehmet
Newbie
Newbie
Avatar

Joined: 11 Sep 2009
Location: Turkey
Online Status: Offline
Posts: 2
Quote mehmet Replybullet Topic: showing subtotal per page
    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
 
 
IP IP Logged
vanitha
Newbie
Newbie
Avatar

Joined: 10 Sep 2009
Location: India
Online Status: Offline
Posts: 8
Quote vanitha Replybullet 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..


Edited by vanitha - 11 Sep 2009 at 2:53am
IP IP Logged
mehmet
Newbie
Newbie
Avatar

Joined: 11 Sep 2009
Location: Turkey
Online Status: Offline
Posts: 2
Quote mehmet Replybullet Posted: 11 Sep 2009 at 3:51am
how to declare shared variable? vanitha...
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
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



This page was generated in 0.031 seconds.