need to configure the pdf export option to create separate pdf’s -SSRS

Posted on 2011-05-12
Medium Priority
Last Modified: 2012-06-21
Hi experts, I need to configure the pdf export option to create separate pdf’s for a given input parameter?

for example for a given location if I get some output pages, I should be able to configure the pdf export option.
Pls help.
Question by:sqlcurious
  • 2
  • 2
LVL 22

Expert Comment

by:Nico Bontenbal
ID: 35752379
I'm afraid these are the only options you can set when rendering to pdf:

I'm not sure what exactly you need though. Do you have a report with a location parameter, and do you want a seperate pdf for each location?
If you have SQL Server 2008 standard or higher you could schedule the report once for every location so (for example) every night the reports are exported to a folder, or emailed.

Please provide some more information about what exactly you need.

Author Comment

ID: 35754687
Yes, thats exactly right, I have a location parameter and I want a separate pdf for each location, how can that be achieved?
LVL 22

Accepted Solution

Nico Bontenbal earned 1500 total points
ID: 35754940
Well it is not possible to configure the report in such a way that when the user clicks the export to pdf button one pdf is created for each value of the location parameter.
The closest thing is a document map. This will give you bookmarks in the pdf. See:
http://msdn.microsoft.com/en-us/library/dd239329.aspx (the 'To add unique group values to a document map' section)
You could export a report with a document map to Excel. In Excel (2007 or higher) you could write a macro that saves each sheet as a separate workbook.
If you want it completely automated you could use subscriptions (SQL server Standard or higher), or create your own vbs script (for example) that creates a pdf for each location.

Author Closing Comment

ID: 35875008
Thanks for the reply, my ideal solution is to create separate pdf files but this is an alternative solution.

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question