I am facing a critical problem with crystal report, want suggestions to overcome the problem.
I have to design a report using Crystal Report 13.0.13.1597 for .NET 4.5 and need to export the same into .PDF file.
The structure of the report as follows,
Report Header Section 1
Page Header Section 1
Group Header Section 1
Detail Section 1
Group Footer Section 1
Report Footer Section 1
Page Footer Section 1
Group Header Section 1 is marked as Underlay Following Sections and Repeat Group Header On Each Page. The content of the Group Header Section can grow as per the length of the content which is not fixed, also the content of the Detail Section can grow as it contains a Sub Report.
In this scenario, I am facing the following issues,
1. The Group Footer is appearing before the content of the group header is finished, if there is only 1 detail record.
2. Next record of the Group appears before the content of the group header of the earlier record is finished.
Please find the issues as I am attaching the outputs I have got, in .PDF also by using Crystal Report Viewer for .NET.
The report appeared in the first image is ok, where the first group has 2 child records and the second group has 1 child, but whenever I am changing the mapping in the database, where the first group has 1 child and second group has 2 child, my report is not working. as it is clear from the second image
Thanks in advance.