Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Parameterized URL


Parameterized URL

Author
Message
eobiki10
eobiki10
SSC Journeyman
SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)

Group: General Forum Members
Points: 93 Visits: 369
Hi All,

Can someone help me with the issue below:

I have a parameterized URL which I normally call from a report. The report works as follows:
When the report is initially run, it opens a parameter box where you have to insert the batch ID. After inserting the batch ID and then viewing the report, the report will now display list of Product IDs associated with that batch.
The issue is that I want the product ID to open in a new tab whenever I click on a particular product. I know it is something that has to do with h ref so can someone help me to construct the below link to include the h ref as I am stuck.

"https://portal.ese.ed.uk/Classes/ViewProductHistory.aspx?Class=" & Fields!Batch_ID.Value & "&Product=" & Fields!Product_ID.Value
Lowell
Lowell
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14942 Visits: 38937
it's not the url itself, it's the target attribute of the a href tag that determines wether it replaces the current palce, or opens a named window or a new window no matter how many times the link is clicked:


<a href="" target="_blank"> Linktext</a>



Lowell

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

eobiki10
eobiki10
SSC Journeyman
SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)SSC Journeyman (93 reputation)

Group: General Forum Members
Points: 93 Visits: 369
Could you help me put that into the URL expression. The target that needs to open in a new tab is the Product ID
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search