Skip to Content
avatar image
Former Member

Crystal Reports print detail section before next detail section

Is it possible to print out a full detail section before the next detail section? Example: if I have "Details a" and "Details b", I would like to print out "Details a" and then "Details b". It should look like the following if there are 3 records in each table:

Details a

Details a

Details a

---------------

Details b

Details b

Details b

Of course, the default behavior prints out like the following.

Details a

Details b

Details a

Details b... and so on

The reason for this is that records in "Details a" are stored in a different table than records in "Detail b" and they both have the same parent table.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 01 at 10:26 PM

    I think subreport is an easy solution for the problem

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 02 at 06:13 PM

    Hi Vitaly, thank you for your response. I should have mentioned that this is a sub-report. If only we could have sub-reports in sub-reports.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Don - thank you for your response.

      I am aware that sub-reports within sub-reports is not possible for the reasons you explained.

      However, my issue still persists. I am currently working on a solution to put all the records in an array and print it out in the footer. There is a small issue of when the footer prints though.

      Any other suggestions would be great.