在水晶报告的新窗口中打开链接 [英] Open the link in new window in crystal report

查看:319
本文介绍了在水晶报告的新窗口中打开链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有水晶报告。有一个包含超链接的列。我想每当点击该链接该页面应该在新窗口中打开。


div>

您的字段包含一个网址,如果您想将该网址设置为水晶报表中的超链接,则可以执行此操作。


考虑以下示例报表,其中包含搜索引擎名称及其链接。


apers

现在您的要求是通过点击 www.google.com 来打开Goog​​le。

右键单击要创建超链接的字段,然后选择格式化字段
$ $ $ $ b您将获得格式编辑器,如下图所示。选择超链接标签,然后选择超链接类型 网上的网站 超链接信息中的公式字段,并使用其中包含URL的列并保存公式。现在按下[确定]并预览报告。





当您按下栏位时,您可以看到连结随即开启。您也可以更改字段的字体颜色以显示是LINK。



编辑

{link} +'?sWindow = New'

使用'?sWindow = New'链接新标签页
尝试此操作,并返回结果!


I have crystal report. There is the column containing the hyperlink. I want whenever click that link that page should open in new window. All this should be done in crystal reports.

Can I get any help?

解决方案

Your Field contains a URL and if you want to make that URL as hyperlink in crystal report, it can be done.

Consider the following sample report, which contains search engine's names and their links



Now your requirement is to open Google by clicking www.google.com.
Right Click the field which you want to make Hyperlink, and select Format Field.
You will get the Format Editor as like the following image. Select Hyperlink tab and select Hyperlink Type as A Website on the Internet
Select the formula field in Hyperlink Information and use your column which has URL in it and save formula. Now press OK and Preview the report.



You could see the link opens when you press the Field. You can also change the font color of the field to show that is a LINK.

EDIT
{link}+'?sWindow=New'
Using '?sWindow=New' after your link may open your link new tab
Try this and get back with your results !

这篇关于在水晶报告的新窗口中打开链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆