Parameters / VB Code

Last Post 14 Mar 2004 04:43 PM by dmcdowell. 6 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
spidur1
New Member
New Member

--
05 Mar 2004 06:29 AM
Anyone have any examples of how to work with sql reports using vb code. How to pass parameters etc...
If so, could you post some examples?
bigelectricmac
New Member
New Member

--
05 Mar 2004 07:39 AM
Have you installed reporting services on your workstation? If so, did you remember to select the developer samples? I will be happy to post code, but I want to know if you wish to show a report from a windows application, asp.net or what?

=-Chris
bigelectricmac
New Member
New Member

--
05 Mar 2004 07:40 AM
Also, just a quick note: You will pass parameters using a SOAP formatted message.
Oh, SOAP here we come! <grin>

=-Chris
spidur1
New Member
New Member

--
05 Mar 2004 07:55 AM
I'll check for developer samples. I would like to be able to parameters from an ASP.net application. Thanks.
spidur1
New Member
New Member

--
08 Mar 2004 09:33 AM
How about a post about how to use parameters. Any vb code to call the the web service?
srader
New Member
New Member

--
12 Mar 2004 02:43 AM
I, too, have had difficulty using parameters (more than one, that is). I have no difficulty passing one parameter but cannot seem to get more than one passed in the URL. I have installed and studied the examples.
The following code works with one parameter:
response.redirect ("http://localhost/Reportserver1?%2fR...r&Product="&txtProduct.text)

If I use more than one parameter with the following code:
response.redirect ("http://localhost/Reportserver1?%2fR...r&Product=&txtProduct.text&Country=&txtCountry.text")
The response I get from the browser is:
The path of the item '/Report Project1/Report1,txtProduct.text,txtCountry.text' is not valid. The full path must be less than 260 characters long, must start with slash; other restrictions apply. Check the documentation for complete set of restrictions. (rsInvalidItemPath)

Does anyone know the solution to this problem?
Thanks
Text
dmcdowell
New Member
New Member

--
14 Mar 2004 04:43 PM
You can also use a URL POST request method that Bryan Keller offers a sample of:
http://blogs.msdn.com/bryanke/artic...73153.aspx


Acceptable Use Policy
---