SSRS custom code and report parts


Is it possible to split a report that has custom code embedded via expressions to be split into Report parts?

SSMS 2008 R2 by default does not allow this and errors with "Custom code is not supported in report parts"


more ▼

asked Jun 02, 2012 at 06:42 PM in Default

mk2012 gravatar image

100 3 3 4

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

AFAIK, this is not possible. The following list contains the publishable Report parts

  • Charts
  • Gauges
  • Images
  • Maps
  • Parameters
  • Rectangles
  • Tables
  • Matrices
  • Lists
As far as re-usability in multiple reports is concerned, a custom assembly would probably a better choice, depending upon your requirement.
more ▼

answered Jun 04, 2012 at 05:58 AM

Usman Butt gravatar image

Usman Butt
13.9k 6 8 14

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Jun 02, 2012 at 06:42 PM

Seen: 790 times

Last Updated: Jun 04, 2012 at 05:58 AM