all groups > sql server reporting services > december 2004 >
You're in the

sql server reporting services

group:

Dynamicly build report against Reporting Services


Dynamicly build report against Reporting Services Patrice Lamarche
12/24/2004 10:09:40 AM
sql server reporting services:
Hello Every one,

I would like to know if it's possible to dynamicly build report againt
RS ?

Thanks alots

Best Regards and seasons greetings!

Patrice Lamarche
Re: Dynamicly build report against Reporting Services Bruce L-C [MVP]
12/24/2004 11:08:25 AM
Possible but not that easy. Here is what you have to do today. First, you
need to learn the rdl specification (you can find that on MS site) which is
XML and create the report yourself. Then you have to deploy it using web
services. Since it is a server based solution you have to deploy it with a
unique name so that only the user you want to use it uses it. So, two things
skills you have to have for this: web services and creating the rdl on the
fly. With Yukon there will be both a winform and webform control that will
work with the server if it is there but does not require it. In theory (I
have not use it since it is not even out in beta yet) you should be able to
give it the rdl. So with Yukon you at least do not have the hoops to jump
through on deploying the report you generated.

What are you wanting to do that requires dynamically building the report. If
it is data you have the option of filtering the data based on the user.
Also, there are many many places that expressions can be used in the report
that allow a degree of dynamic changes to the report.

My advice is only go this route if you have to.
--
Bruce Loehle-Conger
MVP SQL Server Reporting Services


[quoted text, click to view]

Re: Dynamicly build report against Reporting Services Teo Lachev [MVP]
12/24/2004 8:22:47 PM
In addition to what Bruce said, this is how I addressed a similiar problem
in the past. The customer wanted to have a report with sections which are
shown on demand, that is the user could select which sections she wants to
see. To minimize development effort, I decideded to have a report template
which has all the sections. Then, it was just a matter of loading the report
RDL in XML DOM and removing the section elements you don't need. I addition,
I had to take care of re-positioning (moving up) the remaining sections to
fill in the emtpy space left by the deleted sections.

--
Hope this helps.

---------------------------------------------
Teo Lachev, MVP [SQL Server], MCSD, MCT
Author: "Microsoft Reporting Services in Action"
Publisher website: http://www.manning.com/lachev
Buy it from Amazon.com: http://shrinkster.com/eq
Home page and blog: http://www.prologika.com/
---------------------------------------------

[quoted text, click to view]

Re: Dynamicly build report against Reporting Services Jerry
12/27/2004 11:37:03 AM
You can generate the RDL/XML on the fly using the RDL reader/writer

http://www.rdlcomponents.com

Jerry

[quoted text, click to view]
AddThis Social Bookmark Button