Solved

Microsoft Reporting Services

Posted on 2007-03-21
11
570 Views
Last Modified: 2012-05-05
Hi Experts,
I want to build a URL like the one shown:  I am using Microsoft Reporting Services 2000
http://nfwd.battelle.org/bclscrpt/ats/Action.aspx?assmnt_id=34'&cond_id=1&actn_id=1
The value 34 comes from my report 'Fields!Assessment.Value'
The value 1 comes from 'Fields!CondId.Value'
The last value of 1 comes from 'Fields!ActId.Value'

How can I construct this URL and use it in a Jump To URL?

0
Comment
Question by:Mohlerp1942
11 Comments
 
LVL 21

Accepted Solution

by:
Yurich earned 200 total points
ID: 18766945
left click the cell or texbox that you want to have as the one containing URL, select properties, navigation.

select jump to URL, click fx (formula), in the formula enter the following:

="http://nfwd.battelle.org/bclscrpt/ats/Action.aspx?assmnt_id=" &
 Fields!Assessment.Value & "'&cond_id=" & Fields!CondIdValue & "&actn_id=" & Fields!ActId.Value

be careful with quote marks, especially with the one you have after your 34 (if it's not a typo) in your example

good luck,
yurich
0
 
LVL 14

Expert Comment

by:simon_kirk
ID: 18767021
Hi.
Try just concatenating the URL together from the fields and then use in the Jump To URL:

="javascript:void(window.open('http://nfwd.battelle.org/bclscrpt/ats/Action.aspx?assmnt_id=" & Fields!Assessment.Value.ToString() & "cond_id=" & Fields!CondId.Value.ToString() & "actn_id=" & Fields!ActId.Value.ToString() & "','_blank'))"

0
 
LVL 1

Assisted Solution

by:MayaP
MayaP earned 50 total points
ID: 18775123
or you can write a function inside of Report Code called GetUrl where you pass these parameters. the function will retun you a url string that you'll build dynamically in code.

then, in your Jump to URL you just say: = Code.GetUrl( Fields!CondId.Value.ToString(),... other params)

this way if your main URL changes, you will have to make a change in only one place, the Report Code!
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 21

Expert Comment

by:Yurich
ID: 18776923
hmm... 2Maya - if his/her main URL changes, he/she needs to change it in one place anyway - in the Jump to URL formula... I think having a function for this is overdoing.

2simon - why do you need to use javascript and javascript syntax? what's wrong with streight forward strings?
0
 

Author Comment

by:Mohlerp1942
ID: 18778865
Hi to all,
These solutions are good to know about and could come in handy for different situations. For now I Yurich's solution works. I will try MayaP solution just for the experience of knowing how to do it. I could not get 2Simon's solution to work, I assume I have a syntax error.

Thanks All
0
 
LVL 21

Expert Comment

by:Yurich
ID: 18821869
I'm sorry, I din't get it... If my solution works and you used it, why you didn't accept my answer??
0
 

Author Comment

by:Mohlerp1942
ID: 18822596
Sorry, I want to accept your answer but I got all these multiple choices and accepted wrong choice.
0
 

Author Comment

by:Mohlerp1942
ID: 18822608
Is it to late to give you points. If not how do I give you points?
0
 
LVL 21

Expert Comment

by:Yurich
ID: 18822822
go to ask a new question, select a community support area -> genarl, and explain what happened - they will re-open the question and un-accept the previous solution that has been accepted. if you have problems, let me know and I think I can do it for you...
0
 

Author Comment

by:Mohlerp1942
ID: 18823016
Will you fix the point problem. I tried to follow your instructions but it said I have to assign points. Can't be 0. Not sure were I wnet wrong. Thanks
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trigger To Update A Field When Field In Another Table Is Changed 8 74
Monitoring Tools 1 67
Conditionally Hide SSRS Gauge Pointer 2 62
SSRS generating a table of contents 6 192
1. Set up your parameter at the report level as usual, check the box Multi-value, and set the Data Type to String 2. Set the Stored Procedure Parameter to varchar(max)  --<---- This part here is the key to it's success Example:    @cst_key var…
I recently went through setting up a JasperReports Server using the AWS EC2 instance, and this article will cover some basic administration tasks I had to perform.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question