Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Summarize Formula field in group footer

Posted on 2010-09-13
3
Medium Priority
?
512 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 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