Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Parameterized URL Expand / Collapse
Author
Message
Posted Friday, July 5, 2013 7:21 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Wednesday, August 10, 2016 7:46 AM
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

Post #1470727
Posted Friday, July 5, 2013 7:27 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:44 AM
Points: 14,458, Visits: 37,975
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!
Post #1470729
Posted Friday, July 5, 2013 8:01 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Wednesday, August 10, 2016 7:46 AM
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
Post #1470744
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse