Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 Conditional hyperlinks?

Author  Topic 

MorrisK
Yak Posting Veteran

83 Posts

Posted - 2008-03-31 : 10:33:11
Does anyone know if it is possible to make hyperlinks (Action-Jump to report) conditional?

For example, I have the following values listed in a single column on a report.

ColumnA
B
J
J
Q
J
Q
X

I want to enable a hyperlink to another report each time Q appears otherwise I want it disabled. In the future I might want to enable hyperlinks to different reports for the other values listed.

Any ideas for doing this?

Thanks in advance,

Kevin
RS 2000

MorrisK
Yak Posting Veteran

83 Posts

Posted - 2008-03-31 : 11:00:04
I believe I've figured it out. I put the following expression in the Jump to report box -

=IIF(Fields!ColumnA.Value="Q","ReportName",NOTHING)

Comments/suggestions are still very welcome.

Kevin
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-03-31 : 13:06:21
Yup...Thats the way to do it.You can use all kinds of expressions inside jump to report
Go to Top of Page
   

- Advertisement -