subreport bug?
Hi, I hope someone can help with this one as I'm new to fastreports.
We are using delphi 3 and fastreport 2.2 ( got that looking within the fastreport delphi source)
We have a report which has a masterdetail section that contains a single subreport and no other items.
If the number of detail records within the subreport is too large the report creates a new page and prints the remaining of the subreport details within it ( normally).
The problem occurs intermittently but can be made worse by reducing the physical size of the materdetail section. What occurs is this
If the subreport spans a new page ( lots of detail records), then the details are written for the correct master. Sometimes, however, the details of the next master are also written out.
I thought initailly it was a priniting error, but the fact I can make it occur more often by reducing the size of the masterdetail section and it appears in preview.
The detail items are within the sub report and the master items are within the Page header and Page footer. The report has it's master records limited to a range of 10 .
shaun
We are using delphi 3 and fastreport 2.2 ( got that looking within the fastreport delphi source)
We have a report which has a masterdetail section that contains a single subreport and no other items.
If the number of detail records within the subreport is too large the report creates a new page and prints the remaining of the subreport details within it ( normally).
The problem occurs intermittently but can be made worse by reducing the physical size of the materdetail section. What occurs is this
If the subreport spans a new page ( lots of detail records), then the details are written for the correct master. Sometimes, however, the details of the next master are also written out.
I thought initailly it was a priniting error, but the fact I can make it occur more often by reducing the size of the masterdetail section and it appears in preview.
The detail items are within the sub report and the master items are within the Page header and Page footer. The report has it's master records limited to a range of 10 .
shaun
Comments
IIRC
add a detail band set to virtual 1 record
place subrep in detail band.