LBI Crystal Report Hyperlink

 4 Replies
 0 Subscribed to this topic
 22 Subscribed to this forum
Sort:
Author
Messages
James Deno
New Member Send Private Message
Posts: 4
New Member
I have a crystal report that has picture objects that are set to hyperlink the user to url. When the user opens the target, it takes them from the report to the correct URL but it won't open that target in a new window. I've found a number of discussions related to this and have tried to implement the solutions. It seems no matter what I do, it continues to open target in same tab and the user then looses the report. I'm thinking this may be a report viewer setting or some other setting with our internet browsers and I'm wondering if anyone else has run into the same issue.

The solutions I've tried include:

- Change hyperlink formula
"http://my.web/index.htm" + '?sWindow=New'
- Set the "Output Options" Hyperlink Targets: New Window
- Set crystal reports hyperlink setting to "website on the internet"

No matter what I do the hyperlink takes the user to the link in the current window and they loose the report "there is no back button available to the user once at the new window.

Posted 6/8/2013 9:19 AM
jdeno1


Greg Moeller
Veteran Member Send Private Message
Posts: 1498
Veteran Member
Have you tried changing your formula to something more like
"http://my.web/index.htm TARGET=_blank"

Not tested.
James Deno
New Member Send Private Message
Posts: 4
New Member
Hi, thanks for the follow up. Yes, I did try TARGET=_blank but did not have any luck. It tells me page not found.
The.Sam.Groves
Veteran Member Send Private Message
Posts: 89
Veteran Member
The actual HTML code for causing a link to pop open a new tab when clicked is:
[code]Visit W3Schools! [/code] (no clue if the parser will mangle that).

I haven't had a chance yet to play with this function in Crystal Reports but the suggestion I've found indicates you want to try something like the following:

[code]'"http://www.w3schools.com/" target="_blank"'[/code]

using the X+2 button for the link (pay special attention to the 's and the "s).
The.Sam.Groves
Veteran Member Send Private Message
Posts: 89
Veteran Member
replace the & # 39;'s in the second code box with actual single quotes.