Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: How does that work? Summary in group header Post Reply Post New Topic
Author Message
Keikoku
Senior Member
Senior Member


Joined: 01 Dec 2010
Online Status: Offline
Posts: 386
Quote Keikoku Replybullet Topic: How does that work? Summary in group header
    Posted: 17 Mar 2011 at 3:58am
Recently I was reading about the passes that CR goes through when it generates the report and remember we get a lot of questions related to "summaries in the header"

Intuitively I would say "well it hasn't read the records yet so you shouldn't expect much" but then recently I tried actually creating a summary and placing it in the header and it was displaying the correct results.

How does that work? It seems like summaries work differently from running totals although one could achieve similar results through both methods.

Is it then possible to replicate summaries using formulas and have them function the same way? (ie: place it in the header and it will be correct)

Edited by Keikoku - 17 Mar 2011 at 3:59am
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 17 Mar 2011 at 4:17am
it all depends on what you are trying to do. In some cases you can mimic a running total with a formula and a summary function to get a value for a header and sometimes not. Usually depends on duplication of data.
Use gender counts for example.
If the list is unduplicated then you can use 2 formulas for the
 if -male-then 1 else 0 and do a sum and be fine.
if there are duplicate rows you are out of luck.
You could use a crosstab though.
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.008 seconds.