Showing posts with label consists. Show all posts
Showing posts with label consists. Show all posts

Wednesday, March 28, 2012

PDF Rendering Problem - blank pages

I have a report that consists of a number of subreports. When I export to
PDF I get blank pages on every second page. No data is missing, it looks
like an incorrect margin setting or additional page break. If I export the
original "Sub"reports to PDF, then the problem does not occur.
I have checked the margins in the report and the subreports, and they are
all identical. Does anyone have any ideas I can try?
AndreCheck your master report.
Look at your report width as well as your left and right margins.
"Andre" <Andre@.discussions.microsoft.com> wrote in message
news:05B0EB7A-8DE7-4323-A4AF-383F4E4D8543@.microsoft.com...
>I have a report that consists of a number of subreports. When I export to
> PDF I get blank pages on every second page. No data is missing, it looks
> like an incorrect margin setting or additional page break. If I export
> the
> original "Sub"reports to PDF, then the problem does not occur.
> I have checked the margins in the report and the subreports, and they are
> all identical. Does anyone have any ideas I can try?
> Andresql

Monday, March 26, 2012

PDF Export Issue

I've searched through this newsgroup for an answer to my problem, and I have
not found one:
I have a (simple?) report that consists of a standard header, body, and
footer. In the body, I have a table that outputs eight columns. The header
pulls parameters that contain default values consumed from queries, and the
footer contains simple aggregate data. The report runs and looks beautiful
in the report viewer from an ASP.NET page.
The problem manifests itself when the report is exported to a PDF. For
every page of data (there should be four), I get three pages. One of the
pages contains the table data, while the other two simply contain header and
footer data, with a blank body. As mentioned, the report looks and acts
fine in preview mode and also in Report Viewer. It is only in the exported
PDF output that I notice the issue.
I can forward a copy of the exported PDF report if that would be needed to
troubleshoot this issue, and I can provided any additional details as
needed.
Thanks in advance for any help that can be provided.
--
================================================================= William Schroeder, MCSD, CIDD
Email: william@.fanatical.usMake sure that your report is setup as follows:
(Report.PageWidth - Report.LeftMargin - Report.Right Margin) >=Body.Width
"William Schroeder" wrote:
> I've searched through this newsgroup for an answer to my problem, and I have
> not found one:
> I have a (simple?) report that consists of a standard header, body, and
> footer. In the body, I have a table that outputs eight columns. The header
> pulls parameters that contain default values consumed from queries, and the
> footer contains simple aggregate data. The report runs and looks beautiful
> in the report viewer from an ASP.NET page.
> The problem manifests itself when the report is exported to a PDF. For
> every page of data (there should be four), I get three pages. One of the
> pages contains the table data, while the other two simply contain header and
> footer data, with a blank body. As mentioned, the report looks and acts
> fine in preview mode and also in Report Viewer. It is only in the exported
> PDF output that I notice the issue.
> I can forward a copy of the exported PDF report if that would be needed to
> troubleshoot this issue, and I can provided any additional details as
> needed.
> Thanks in advance for any help that can be provided.
> --
> =================================================================> William Schroeder, MCSD, CIDD
> Email: william@.fanatical.us
>
>
>|||This worked--my body width was set to 20" for some reason.
Thank you!
--
=================================================================William Schroeder, MCSD, CIDD
Email: william@.fanatical.us
"Kevin Weir" <KevinWeir@.discussions.microsoft.com> wrote in message
news:16E48AC3-C642-4972-9185-A57FA263E420@.microsoft.com...
> Make sure that your report is setup as follows:
> (Report.PageWidth - Report.LeftMargin - Report.Right Margin) >=> Body.Width
>
>
> "William Schroeder" wrote:
> > I've searched through this newsgroup for an answer to my problem, and I
have
> > not found one:
> >
> > I have a (simple?) report that consists of a standard header, body, and
> > footer. In the body, I have a table that outputs eight columns. The
header
> > pulls parameters that contain default values consumed from queries, and
the
> > footer contains simple aggregate data. The report runs and looks
beautiful
> > in the report viewer from an ASP.NET page.
> >
> > The problem manifests itself when the report is exported to a PDF. For
> > every page of data (there should be four), I get three pages. One of
the
> > pages contains the table data, while the other two simply contain header
and
> > footer data, with a blank body. As mentioned, the report looks and acts
> > fine in preview mode and also in Report Viewer. It is only in the
exported
> > PDF output that I notice the issue.
> >
> > I can forward a copy of the exported PDF report if that would be needed
to
> > troubleshoot this issue, and I can provided any additional details as
> > needed.
> >
> > Thanks in advance for any help that can be provided.
> >
> > --
> > =================================================================> > William Schroeder, MCSD, CIDD
> >
> > Email: william@.fanatical.us
> >
> >
> >
> >
> >|||Kevin, I'm also having this same problem when exporting to .pdf. When you
write "Make sure that your report is setup as follows: (Report.PageWidth -
Report.LeftMargin - Report.Right Margin) >= Body.Width", WHERE do you code that? Thanks!
Tom
"Kevin Weir" wrote:
> Make sure that your report is setup as follows:
> (Report.PageWidth - Report.LeftMargin - Report.Right Margin) >=> Body.Width
>
>
> "William Schroeder" wrote:
> > I've searched through this newsgroup for an answer to my problem, and I have
> > not found one:
> >
> > I have a (simple?) report that consists of a standard header, body, and
> > footer. In the body, I have a table that outputs eight columns. The header
> > pulls parameters that contain default values consumed from queries, and the
> > footer contains simple aggregate data. The report runs and looks beautiful
> > in the report viewer from an ASP.NET page.
> >
> > The problem manifests itself when the report is exported to a PDF. For
> > every page of data (there should be four), I get three pages. One of the
> > pages contains the table data, while the other two simply contain header and
> > footer data, with a blank body. As mentioned, the report looks and acts
> > fine in preview mode and also in Report Viewer. It is only in the exported
> > PDF output that I notice the issue.
> >
> > I can forward a copy of the exported PDF report if that would be needed to
> > troubleshoot this issue, and I can provided any additional details as
> > needed.
> >
> > Thanks in advance for any help that can be provided.
> >
> > --
> > =================================================================> > William Schroeder, MCSD, CIDD
> >
> > Email: william@.fanatical.us
> >
> >
> >
> >
> >