如何为表中的特定单元格创建链接.

问题描述:

大家好,

我在ssrs 2005中有一份报告.
在该报告中,我正在为一列创建链接.
在该列中,某些值为0,而某些值大于0.
每个值的链接都来了.
我的问题是如何为那些值大于0的单元格创建链接.我的意思是如何在ssrs中编写表达式.

谢谢,
rumki

hello everyone,

i am having a report in ssrs 2005.
in that report i am making a link for one column.
in that column some values are 0 and some values are greater than 0.
link is coming for every values.
my question is how to create a link for those cells that are having values greater than 0. i mean how to write the expression in ssrs.

thanks,
rumki

好吧,您只需要编写表达式即可.

与其直接提供链接,不如直接在其中使用iif条件,并根据设置链接的值进行设置.

在此处查找表达式的示例和示例:
表达式示例(Report Builder 3.0和SSRS) [ SQL Server 2005报表服务中表达式的简短介绍 [
Well, all you need is to write expression.

Instead of providing the link directly, use an iif condition there and based on the value set the link.

Look here for samples and examples of expressions:
Expression Examples (Report Builder 3.0 and SSRS)[^]
A brief introduction to expressions in SQL Server 2005 reporting services[^]

Just google for more, if needed.