I am using Crystal Reports XI for some reports with many sub reports.
Account information is displayed on each page heading. There is a 'new page before' set in the account group header. Everything works fine for most accounts.
The problem occurs when a sub report prints data right to the last line of a page. The new page happens as it should but the account information in the page header is for the previous account (instead of the account that the new page's data is for).
While trying many workarounds we have seen that the page heading (in these cases) prints before considering the first record for the new page. We have tried placing all the page header information in the group header but the issue still exists.
We also tried placing a blank section in the main report after the section containing the sub report. This causes a blank page (with the previous account's page headings) but at least there are no more wrong page headings. Unfortunately blank pages are not acceptable to those receiving the reports.
Is there a fix for this page heading issue?
Is there some way to test if the blank section after the sub report is being 'printed' on the first data line of the report and be able to suppress that page? We have tried to conditionally suppress that 'push' section but it does not solve the problem. The tests we tried seem to have a sequence of processing issue.
I could sure use some help with this please.
Account information is displayed on each page heading. There is a 'new page before' set in the account group header. Everything works fine for most accounts.
The problem occurs when a sub report prints data right to the last line of a page. The new page happens as it should but the account information in the page header is for the previous account (instead of the account that the new page's data is for).
While trying many workarounds we have seen that the page heading (in these cases) prints before considering the first record for the new page. We have tried placing all the page header information in the group header but the issue still exists.
We also tried placing a blank section in the main report after the section containing the sub report. This causes a blank page (with the previous account's page headings) but at least there are no more wrong page headings. Unfortunately blank pages are not acceptable to those receiving the reports.
Is there a fix for this page heading issue?
Is there some way to test if the blank section after the sub report is being 'printed' on the first data line of the report and be able to suppress that page? We have tried to conditionally suppress that 'push' section but it does not solve the problem. The tests we tried seem to have a sequence of processing issue.
I could sure use some help with this please.