473,586 Members | 2,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

parameter passing using url

I want to open a crystal report using a viewer to do so and want to have my
user click on a link to my webserver. The problem is the report is based on
a stored procedure that requires a parameter. I want to have the value of
the parameter included in the url link that the user uses in their email.
Thanks for any guidance.
Sep 14 '06 #1
3 3097
A parameterized URL (with a Query String) would do it. Example:

http://www.google.com/search?hl=en&q=Query+String

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"bindurajee sh" <bi**********@d iscussions.micr osoft.comwrote in message
news:E7******** *************** ***********@mic rosoft.com...
>I want to open a crystal report using a viewer to do so and want to have my
user click on a link to my webserver. The problem is the report is based
on
a stored procedure that requires a parameter. I want to have the value of
the parameter included in the url link that the user uses in their email.
Thanks for any guidance.

Sep 14 '06 #2
Thank you for such a quick response. I have now
servername/myintranet/clinicianIDEntr y.aspx?clinicia nid=194.033&act ion=raw

the report does not open with correct data.

"Kevin Spencer" wrote:
A parameterized URL (with a Query String) would do it. Example:

http://www.google.com/search?hl=en&q=Query+String

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"bindurajee sh" <bi**********@d iscussions.micr osoft.comwrote in message
news:E7******** *************** ***********@mic rosoft.com...
I want to open a crystal report using a viewer to do so and want to have my
user click on a link to my webserver. The problem is the report is based
on
a stored procedure that requires a parameter. I want to have the value of
the parameter included in the url link that the user uses in their email.
Thanks for any guidance.


Sep 14 '06 #3
The QueryString merely passes the data. Someone (some code) has to catch it
to use it. Now, don't ask me how to get the data into the report, as I don't
use Crystal Reports. But the data is available to the page, via the
Request.QuerySt ring Collection.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"bindurajee sh" <bi**********@d iscussions.micr osoft.comwrote in message
news:53******** *************** ***********@mic rosoft.com...
Thank you for such a quick response. I have now
servername/myintranet/clinicianIDEntr y.aspx?clinicia nid=194.033&act ion=raw

the report does not open with correct data.

"Kevin Spencer" wrote:
>A parameterized URL (with a Query String) would do it. Example:

http://www.google.com/search?hl=en&q=Query+String

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"bindurajees h" <bi**********@d iscussions.micr osoft.comwrote in message
news:E7******* *************** ************@mi crosoft.com...
>I want to open a crystal report using a viewer to do so and want to have
my
user click on a link to my webserver. The problem is the report is
based
on
a stored procedure that requires a parameter. I want to have the value
of
the parameter included in the url link that the user uses in their
email.
Thanks for any guidance.



Sep 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4862
by: Ron Rohrssen | last post by:
I want to show a dialog and when the form (dialog) is closed, return to the calling form. The calling form should then be able to pass the child form to another object with the form as a parameter. For example, FormOptions formOptions = new FormOptions(); if (formOptions.ShowDialog(this) == DialogResult.OK) {
6
2787
by: Catherine Jones | last post by:
Hi all, we need urgent help in a matter. We are trying to pass a COM object from the client to server and are facing some problems in the same. We've our client in C# as well as the Server in C# and we're using remoting for client to server communication.
6
16258
by: wiredless | last post by:
What is the advantage of passing an interface type? according to UML (visio) when i reverse engineer existing code to a UML diagram I get the error "UMLE00046: sample : - An interface cannot be used as the type of a parameter." for this code:
21
3285
by: vmsgman | last post by:
Here is a code sample ... int blah = ReadFile( defArray, defFileName, w, h); // Read File Contents into memory array and return for processing public int ReadFile( ref ushort nArray, string sFname, int w, int h) { FileStream fs = new FileStream(sFname, FileMode.Open, FileAccess.Read); BinaryReader br = new BinaryReader(fs); // Read data
20
5033
by: Brien King | last post by:
If I have a parameter that has an Object type (as opposed to something like a string), can I make that parameter a CONST? Right now, if you pass an object into a sub/function, that sub/function can modify the object no matter how it's defined (ByVal or ByRef). In some cases, I want to make sure that you cannot modify the object. Is there...
3
1877
by: JohnnyGr | last post by:
I have heard theres a new way to start threads with parameters in framework 2.0, does anyone know how to do that? this is what i need to do... Start a thread that executes some stuff, in this case it does gets all files from a directory. then i need to update the GUI with information from the thread... the thread should be started with...
4
2750
by: Ranginald | last post by:
Hi, I'm having trouble passing a parameter from my default.aspx page to my default2.aspx page. I have values from a query in a list box and the goal is to pass the "catID" from default.aspx to a stored procedure on the details2.aspx page. I can successfully pass the values from the listbox control to a
16
3370
by: Theo R. | last post by:
Hi all, Does the C99 Standard explicitly mention the need for a stack for passing arguments or Is this platform specific? As an example, the ARM9 processor recommends Core Registers R0-R3 be used when passing less than four parameters. However some compilers for ARM9 do not follow this recommendation and place all parameters on the...
12
4620
by: ArunDhaJ | last post by:
Hi Friends, Is it possible to pass a table as a parameter to a funtion. whos function declaration would look some thing like this.... ALTER FUNCTION TempFunction (@TempTable TABLE, @nPId INT) my problem is: i have to access a temporary table created in an SP in a function
4
8030
by: =?Utf-8?B?QmlsbEF0V29yaw==?= | last post by:
Hi, We recently converted a 1.1 project to 2.0 and this included a webservice which accepted XML for one of the parameters. Since converting to 2.0 I am getting the following message: --- A potentially dangerous Request.Form value was detected from the client (myparam="<root><blah...."). --- The fix used for ASPX pages is to include the...
0
7911
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8215
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.