Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 any way to pass URL ?

Author  Topic 

swenri
Yak Posting Veteran

72 Posts

Posted - 2007-09-05 : 14:08:46
Hi All,

Is there a way using the report servers default Reports website is there anyway to pass the variable in the url string? If so can someone please let me know what the url would look like.

All inputs are highly appreciated.

Thanks,

jhermiz

3564 Posts

Posted - 2007-09-06 : 13:20:28
quote:
Originally posted by swenri

Hi All,

Is there a way using the report servers default Reports website is there anyway to pass the variable in the url string? If so can someone please let me know what the url would look like.

All inputs are highly appreciated.

Thanks,




I assume you mean a parameter for a report. The answer is well sort of..you're actually using office web components if you want to do that. What you want to do is this:

Open a report from the RS website
Select any parameter for that report, provided that you have a report that takes parameters
In the export section select office web components I think is the selection and allow the report to export.
Copy and paste that url to something like notepad...and analyze it. Look how SSRS passes parameters in the URL.

Now when you want to open the report and pass the parameter from a web interface or a windows form just create a similiar URL like the one you pasted above. Pass the parameter and open the report and you will have the data you need.

Thanks,
Jon


Weblog -- [url]http://weblogs.sqlteam.com/jhermiz[/url]
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2007-09-06 : 15:11:41
Glad to see you back Jon; knowing that you will now have loads of time on your hands you might like to take a look at the recent posts with zero replies in this forum

http://www.sqlteam.com/forums/forum.asp?FORUM_ID=21

because coolerbob has raised the issue about our inability to have sufficient holiday cover:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=88960



Kristen
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2007-09-06 : 15:14:24
Ah ... I see you beat me to it
Go to Top of Page
   

- Advertisement -