Solved

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

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now