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
> >
> >
> >
> >
> >

No comments:

Post a Comment