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

Grouping difficulty


I'm wondering if this is possible in Crystal Reports. Here are a couple of sample records:








The "Group" field refers to the ID of the parent item. So the first three items belong together, with ID 02 and ID 03 being child items of ID 01. What I would like to do is set up the grouping in Crystal to be something like this:

--ParentItems (Group Header)

-----Child Items (Details)

--ParentItems (Group Footer)

So in this example:

01------$4.00 (Group Header)



01 (Group Footer)

04-------$2.50 (Group Header)



04 (Group Footer)

Is it possible to use grouping or filtering formulas in Crystal to pull off something like this?

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 23, 2012 at 04:49 PM


    Create a group on Parent node and select the "Hierarchichal Grouping Options" from Report menu.

    1. Select available groups

    2. Check Sort Data Hirarchically

    3. Select Parent Group ID from drop down and Indent as desired.

    This will help you in showing a parent child nodes in Crystal reports 2008.

    Hope this helps.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Jyothirmayee A


      From your example, it looks like your ID Group always come first.

      So, what you can do is:

      1. Create IDGroup as Group; and

      2. In the Record Sorting, sort by ID; and

      3. Put the field ID into Group Header 1; and

      4. In your Detail section, have the following fields

      ID and Amount.

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.