Take my solution and add it to a link in a report. Then look at the URL
generated when you execute it. What you want to do is definitely possible. I
URL from the address bar of IE. Do this to see how you should be assembling
"richyoung" <richyoung@discussions.microsoft.com> wrote in message
news:7881CC3F-31D6-4922-81AE-F3C6F779D1BA@microsoft.com...
> Bruce-
> Thanks for taking the time to reply. The problem you're addressing is a
> good fix , but unfortunately it's not aimed at the problem I'm having. I
> should have been more clear; the situation I'm using involves linking to a
> report from a standard web page on a different server. So I'm
> constructing
> my urls like so:<br>
>
http://www.url.com/Reports/Pages/Report.aspx?ItemPath=/path/to/the/report&pid=1234
> <br>where the "pid=1234" thing is the parameter I'm trying to pass in,
> named "pid" and expecting an integer value.
> <br>
> What I get is the report page with a blank prompt for the "pid" parameter,
> instead of a report run against that parameter. As I mentioned before,
> I've tried it with slashes and with "%2F" encoding for the slashes; I've
> tried it with and without the "ItemPath=" segment, etc. About the only
> thing
> that *does* work for me is linking from one report to another via the
> "jump
> to a report" property in the Navigation tabs of my objects. I can even
> load
> the (blank) report page in a browser, manually add the "&pid=1234" or
> "&pid=1234" string to the end (thereby guaranteeing that I'm not doing
> anything wrong to the rest of the URL), hit enter, and still get a blank
> report with a prompt for that parameter.
> <br>
> I've seen the same failure to import query-string parameters in several
> different reports, and I'm at that uncomfortably familiar stage where I'm
> feeling 85% certainty that it's not anything I'm doing wrong, and 15%
> suspicion that I'm still overlooking something stupid and obvious.
> <br>
> Does that jog any ideas about what I might need to do to fix this? Thanks
> in
> advance for any help you might be able to provide, as well as your efforts
> so
> far.
>
> --Rich
>
> "Bruce L-C [MVP]" wrote:
>
>> The below example specifies the directory starting from the root. I have
>> this because this particular report can reside in a different directory
>> than
>> the report I am jumping to. If it is in the same directory you can just
>> not
>> worry about specifying the directory. A couple of others things to note,
>> I
>> use the globals variable so this will work regardless of where I deploy
>> it.
>> Also, note that parameter values are case sensitive so you must match it
>> exactly or you will end up without values in your parameter fields. Also
>> note that you can add to this URL a command to tell it to hide the
>> parameter
>> toolbar. Anyway, this should get you started.
>>
>> =Globals!ReportServerUrl & "?/Inventory/Similar Loads&Manifest=" &
>> Fields!manifstdocno.Value &"&WasteIDNum=" & Fields!wasteidnum.Value
>>
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>>