Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3417
  • Last Modified:

QuickReport - Group subtotals

Hi,

QuickReport is used to produce a grouped list report, but it doesn't generate a subtotal for each group.  How can I do this?
0
henrylim
Asked:
henrylim
1 Solution
 
ITugayCommented:
Inside groups footer.
----
Igor.
0
 
henrylimAuthor Commented:
Hi, Igor,

I tried the group footer with a QuickReport expression sum(datafield) before, but the returned value was not for the individual group.

Thanks.
0
 
ITugayCommented:
Did you try  TQRExpr.Reset in your groups headers?
------
Call Reset from any event handler during report generation for the value of an expression to be reset to 0. This is useful when having aggregated expressions and you want manual control of when the calculations should restart.
-----
Igor.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
NetoManCommented:
In the groupheader expression put the field that will rule the kind of detailed agrupation (ej, country if you want to group employees by country and count it in footer).

also you have to reset the expression  value in the footer like ITugay say.


NetoMan :)
0
 
lgmmCommented:
Enable the reset after print , that is in the properties of the sum field
0
 
henrylimAuthor Commented:
Hi, Igor,

Thanks for your tips.  I reset the Expression in the group footer, but not as you said in the group header.  I believe it was a typing error.

L. Henry
0
 
ITugayCommented:
Hi Henry,
You can reset expression before printing group in group header, or after printing group in group footer with the same result. But usually I make initialization before do something, instead after. I hope you too;)
Best regards,
Igor.
0
 
henrylimAuthor Commented:
Hi, Igor,

I see.  Thanks again.

Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now