Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: How to get totals for horizontal printined items Post Reply Post New Topic
Author Message
cravicha
Newbie
Newbie
Avatar

Joined: 19 Jun 2010
Location: United States
Online Status: Offline
Posts: 5
Quote cravicha Replybullet Topic: How to get totals for horizontal printined items
    Posted: 20 Jun 2010 at 4:48am
Hi:
Here is the scenario.
I have a group heading within a group heading and the detail and two group footing.
The detail record item is set to print horiztontally.
In the group footer I want to print a total for each of the horizontal column items.
Eg.
GH1
GH2 - suppressed
GD --                                   $Col1   $ Col2  $Col3  $Col4
GF2  - Item info.  
GF3                      total of     Col1       Col2    Col3    Col4
 
I would appreciate any help. Code snippet would be great aid.
Thanks.
Ravi.
 
Ravi Ravichandran
F&A Services
www.faondemand.com
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 21 Jun 2010 at 3:12am
it would seem you just want to use an aggregate.  Clicking the Sigma (odd stylized E) on the toolbar will do what you want.
 
If not, I would say create formulas to create global variables and increment them yourself, but from the example, that isn't what you're after.
 
Also, shouldn't GF3 be GF1?
 
HTH
IP IP Logged
cravicha
Newbie
Newbie
Avatar

Joined: 19 Jun 2010
Location: United States
Online Status: Offline
Posts: 5
Quote cravicha Replybullet Posted: 21 Jun 2010 at 2:45pm

HTH:

Thanks for your reponse.
Sigma solution does not work. When I try this system gives me functions other than Sum (e.g. Maximum, average etc.), since I am fetching bunch of rows and displaying it horizontally (first row will be first column, second row will be 2nd column etc.).
So summing by using global variables is the choice.
Can you please give me hints on how will I do this.
Thanks.
Ravi
 
Ravi Ravichandran
F&A Services
www.faondemand.com
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.000 seconds.