FR5.3 breaks composite report with multiple columns
LurkingKiwi
Wellington, New Zealand
I recently installed V5.3.1 and one of my composite reports now formats badly. The report has 2 pages, one with 1 column and the other with 2 columns.
I enable Page1 only and print that section, then enable Page2 only and PrintOnPreviousPage.
This works fine in FR5.1.x and FR5.2.3, but in FR5.3.1 the Report Title of the second page is missing, and the columns flow right back to the top of the page and print over the first segment.
See the attached PDF files, and also the FR3.
The Delphi XE code uses a UserDataSet and is similar to:
ArrayDS.RangeEnd := reCount;
ArrayDS.RangeEndCount := sgResults.RowCount - 1;
EnablePage(frxResultsByClub, 1); {Make Page1 visible, disable all others}
frxResultsByClub.PrepareReport(True);
{Change values in string grid}
ArrayDS.RangeEnd := reCount;
ArrayDS.RangeEndCount := sgResults.RowCount - 1;
EnablePage(frxResultsByClub, 2); {Make Page2 visible, disable all others}
frxResultsByClub.PrepareReport(False);
frxResultsByClub.ShowPreparedReport;
Hopefully this is an easy fix; if I'm doing this wrong could somebody please provide the answer?
Thanks,
Len Chisholm.
I enable Page1 only and print that section, then enable Page2 only and PrintOnPreviousPage.
This works fine in FR5.1.x and FR5.2.3, but in FR5.3.1 the Report Title of the second page is missing, and the columns flow right back to the top of the page and print over the first segment.
See the attached PDF files, and also the FR3.
The Delphi XE code uses a UserDataSet and is similar to:
ArrayDS.RangeEnd := reCount;
ArrayDS.RangeEndCount := sgResults.RowCount - 1;
EnablePage(frxResultsByClub, 1); {Make Page1 visible, disable all others}
frxResultsByClub.PrepareReport(True);
{Change values in string grid}
ArrayDS.RangeEnd := reCount;
ArrayDS.RangeEndCount := sgResults.RowCount - 1;
EnablePage(frxResultsByClub, 2); {Make Page2 visible, disable all others}
frxResultsByClub.PrepareReport(False);
frxResultsByClub.ShowPreparedReport;
Hopefully this is an easy fix; if I'm doing this wrong could somebody please provide the answer?
Thanks,
Len Chisholm.
Comments
A new property ShowTitleOnPreviousPage (defaulting to true) controls the page title.
Thanks,
Len Chisholm.