Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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, July 9, 2014 9:51 AM
Points: 80, Visits: 332
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 @ 7:10 PM
Points: 12,909, Visits: 32,012
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

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
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, July 9, 2014 9:51 AM
Points: 80, Visits: 332
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