Solved

How can I Insert a SUM field of a formula in another Group Footer?

Posted on 2011-09-29
3
388 Views
Last Modified: 2012-06-27
I have a formula that is calculated at the Group Footer 2 level. It is not in the details level. and I want to sum the totals of the field into Group Footer 1, but there are no options to do so on the right click menu. also Running totals Says it is an 'invlaid field selection' if I try doing so. Any ideas how I can calculate this sum of group totals? The calculation I am using is based of data on GF2, not per individual detail record.

I ma using Crystal Reports 2008 and/or version 10. I have both.
0
Comment
Question by:GMSMRM
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 36815927
You should be able to copy it and put it in the group 1 footer.

mlmcc
0
 
LVL 19

Accepted Solution

by:
GJParker earned 500 total points
ID: 36815960
You will need to create 3 formulas

Formu1a 1 - place this in GH1

//@VariableReset
Shared NumberVar GroupTot;

If Not InRepeatedGroupHeader Then GroupTot := 0

Formula 2 - Place this in GF2

//@VariableAccum
Shared NumberVar GroupTot := GroupTot + YourFormula

Formula 3 - Place this in GF1

//@VariableDisplay
Shared NumberVar GroupTot

HTH


0
 

Author Closing Comment

by:GMSMRM
ID: 36816119
GJParker,
That worked! Thanks alot.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question