SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Rendering to PDF Triggers #Error messages


Rendering to PDF Triggers #Error messages

Author
Message
geoff5
geoff5
Say Hey Kid
Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)

Group: General Forum Members
Points: 662 Visits: 543
I have a report that looks fine when it is rendered in the browser, but when it is exported to PDF three of the numeric values in the report come out as #Error on all but the first page of the output. Curiously, the aggregated values of the same three values in the tablix footer row are fine. It is only the (Details) section values that have #Error beside them.

These values are based on calculated fields that were added to SSRS dataset and not part of the underlying query. I would blame it on this fact, but becasue the aggregated values of the same calculated fields work fine, that doesn't make sense. Nor does it make sense to me that the first page is rendered correctly but the rest of the pages have the #Error.

Has anyone else experienced unusual behavior like this when exporting to PDF?
gbritton1
gbritton1
Ten Centuries
Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)Ten Centuries (1.4K reputation)

Group: General Forum Members
Points: 1413 Visits: 879
Here's one solution I found:


On the subreport properties in the main report, there is a KeepTogether property that is set to false by default.

Once I changed that to true on all instances, everything works like a charm. Makes no sense to me, but its over and done with!


http://www.experts-exchange.com/Database/Reporting/Q_24343549.html
geoff5
geoff5
Say Hey Kid
Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)Say Hey Kid (662 reputation)

Group: General Forum Members
Points: 662 Visits: 543
In my case there is no subreport in this design, so the "Keep Together" property fix does not seem applicable to my situation.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search