Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Summarize Formula field in group footer

Posted on 2010-09-13
3
Medium Priority
?
514 Views
Last Modified: 2012-05-10
I have a formula on the detail section of a report and need to total it in the group section.  When I try to summarize it I get a message indicating "This field can not be summarized"
0
Comment
Question by:Trygve Thayer
3 Comments
 
LVL 8

Accepted Solution

by:
kingjely earned 1400 total points
ID: 33661741
Hi Tthayer

You may need something like the following,

In the group header add a formula
WhilePrintingRecords;
Global NumberVar MyTotal := 0;
''

In the section where you display the summary
WhilePrintingRecords;
Global NumberVar MyTotal;
MyTotal := MyTotal + {summaryFormula OR formular);
''

To display in Group footer
WhilePrintingRecords;
Global NumberVar MyTotal;
MyTotal



0
 

Assisted Solution

by:CarloVasquez
CarloVasquez earned 600 total points
ID: 33683514
kingjely, it seems like you are going in the right direction here but the problem I see in this code is in this section:

In the section where you display the summary
WhilePrintingRecords;
Global NumberVar MyTotal;
MyTotal := MyTotal + {summaryFormula OR formular); <----- HERE
''

SummaryFormula or Formular that you mention does not exist as a field or you can not use it.
It's unavailable. I have tried also doing the same thing as tthayer but same problem.

I am guessing that possibly by creating a formula field NOT a summarize field cause it work either.
Let me know what else you can think of.

//Carlo
0
 
LVL 3

Author Closing Comment

by:Trygve Thayer
ID: 33846229
Sorry experts.  Totally forgot I had this one out here.  
I will deffinately be able to use your suggestions.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

580 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