Skip to Content
author's profile photo Former Member
Former Member

Newbee, Sum header question - CR 8.5

We have a custom app that the vendor has told us we have to use Crystal Reports 8.5 Dev to edit their reports. I hope I'd posted this in the correct place, if not please advise on where I should have posted this.

What I want to do is SUM the "detail" in "Group Header #1 a"

The field on the report has "@Extended" in it and this is what I see when I edit Formula Field, formula = {CR_SVSLS_DOCS;1.SVSLSITM_ExtndPrice}

I'm not real sure the information I've included is enough or relevent, but I hope someone can point me in the right direction.

Thanks in advance

Kelvin

++++++++++++++++++++++++++++++++++++++

Group Header #1 a

CR_SVSLS_DOCS;1.SVSLSOPS_Opsid-A

Group Header #1 b

CR_SVSLS_DOCS;1.SVSLSOPS_Opsid-A

Group Header #1 c

CR_SVSLS_DOCS;1.SVSLSOPS_Opsid-A

Group Header #1 d

CR_SVSLS_DOCS;1.SVSLSOPS_Opsid-A

Group Header #1 e

CR_SVSLS_DOCS;1.SVSLSOPS_Opsid-A

Group Header #2

CR_SVSLS_DOCS;1.SVSLSITM_Slsid-A

Detail

Group Footer #2

CR_SVSLS_DOCS;1.SVSLSITM_Slsid-A

Group Footer #1

CR_SVSLS_DOCS;1.SVSLSOPS_Opsid-A

++++++++++++++++++++++++++++++++++++++

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 08, 2008 at 12:18 PM

    Inside a formula there is a command called sum which will sum all the values of a given field that would appear on the report. It looks like sum(field).

    However, if you want to sum only values that would be inside the same group level you can add a condition to the sum as such: sum (field,group field).

    Let me know if this helps,

    -Sean

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.