Solved

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

Posted on 2011-09-29
3
392 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to learn crystal reports 7 74
Crystal Reports last day of month 2 61
Count If in Crystal Reports 2 18
division by zero in crystal reports 1 10
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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