all groups > sql server reporting services > august 2005 >
You're in the

sql server reporting services

group:

Using the "Jump to Report" to Search for other reports


Using the "Jump to Report" to Search for other reports Ben Cole
8/12/2005 12:38:03 PM
sql server reporting services:
Hi All,

Has anyone used the "Jump to Report" to pull up any one report from a
selection of 7 other sub-reports.
I am trying to pull up a specific detail report from 7 sub-reports using an
individual pin # and the "report type" from the main report.

These sub-report types are grouped from type 1 thru 7. I have used the the
"IIF" statement and the "CASE" statement within the (Fx in the Advanced Text
RE: Using the "Jump to Report" to Search for other reports C.M
8/15/2005 6:15:06 AM
PLease show your IIF statement . IT may just be a formating issue

[quoted text, click to view]
RE: Using the "Jump to Report" to Search for other reports Ben Cole
8/15/2005 6:34:03 AM
Here is the CASE statement I've used:

CASE (WHEN ReportType = 1 THEN 'First Report.rdl' WHEN ReportType = 2
THEN 'Second Report.rdl' WHEN ReportType = 3 THEN 'Third Report.rdl' WHEN
ReportType = 4 THEN Fourth Report.rdl' WHEN ReportType = 5 THEN 'Fifth
Report rdl' WHEN ReportType = 6 THEN Sixth Report .rdl' WHEN ReportType =
7 THEN Seventh Report .rdl') END

I did change the report names for security reasons!!!

Thx, Ben

[quoted text, click to view]
RE: Using the "Jump to Report" to Search for other reports C.M
8/15/2005 9:42:02 AM
you could try a nested IIF statement in the "jump to report" expression box .

------------------------
IIF(Parameters!option.Value=1,"1_subreport",IIF(Parameters!option.Value=2,"2_subreport","blank_subreport"))
-------------------------

or a switch statement is the same expression box .

---------------------------------------
=Switch( Parameters!option.Value=1,"1_subreport",
Parameters!option.Value=2,"col_2_subreport" )
----------------------------------------
[quoted text, click to view]
RE: Using the "Jump to Report" to Search for other reports Ben Cole
8/16/2005 5:55:31 AM
Thx C.M, that's exactly how I did it. I did receive this tip from some guy
named "daw".

[quoted text, click to view]
AddThis Social Bookmark Button