Printing a blank page at the end of the report
Hello,
I have a report with several sub-reports in it, one of which is a summary
page. the report output displays the report followed by a blank page (Header
and footer print but no data) then the summary followed by another blank
page (again, header and footer...). If I break on the ReportEndPage event
the data pipeline shows that it is at EOF but it still prints another page.
If I break at the ReportStartPage it still shows EOF! Why would it show that
the dataset is at EOF at the beginning of a page???
-Jacob Clark
Alogent Corporation
jacob.clark@alogent.com
I have a report with several sub-reports in it, one of which is a summary
page. the report output displays the report followed by a blank page (Header
and footer print but no data) then the summary followed by another blank
page (again, header and footer...). If I break on the ReportEndPage event
the data pipeline shows that it is at EOF but it still prints another page.
If I break at the ReportStartPage it still shows EOF! Why would it show that
the dataset is at EOF at the beginning of a page???
-Jacob Clark
Alogent Corporation
jacob.clark@alogent.com
This discussion has been closed.
Comments
The data pipeline traverses to the last record at the bottom of the page in
order for the band to get a chance to generate. When it generates, the
engine determines if the band will fit at the bottom of the page. If the
band cannot fit, then the engine generates the band on the next page. This
is the most likely reason that the EOF is true in this case. Instead if
checking EOF, try checking if ppdaLastRecord in ppDBPipeline.State then...
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
DADE group.
Anyways, ppdaLastRecord is in the pipeline state. I thought that I had a
problem with a column header/footer that was on the report even though the
columns property was set to 1 but when I fixed that it still prints a blank
page. I am at a loss here.
Thanks,
-Jacob
--
Jacob Clark
Alogent Corporation
or summary band? Can you send your report layout to
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com