SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Change the parameters based on Main Parameter


Change the parameters based on Main Parameter

Author
Message
sql server developer
sql server developer
SSC Eights!
SSC Eights! (980 reputation)SSC Eights! (980 reputation)SSC Eights! (980 reputation)SSC Eights! (980 reputation)SSC Eights! (980 reputation)SSC Eights! (980 reputation)SSC Eights! (980 reputation)SSC Eights! (980 reputation)

Group: General Forum Members
Points: 980 Visits: 472
Hi All,

I've report that has 4 parameters, say ParA, ParB, ParC and ParD.
ParA is the main parameter upon which other parameters are dependent

If ParA = 'X' then the user should be able to select options from ParB and ParC (ParD should be hidden)
If ParB = 'Y' then the user should be able to select options from ParD (ParB and ParC should be hidden)

I really appreciate if someone could assist me with this.

Thanks in advance!
Snigdha Vartak
Snigdha Vartak
Say Hey Kid
Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)Say Hey Kid (690 reputation)

Group: General Forum Members
Points: 690 Visits: 247
Hi,

By design, the parameters will be rendered while the report is processing. This means there is no option to hide a parameter at run-time Crying.

I would suggest you implementing a custom parameter interface using ASP.NET, and then using Report Viewer control to display the report.

Please refer:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c233cf39-bff3-4519-8459-58b24e82ec29/conditionally-hiding-parameters-in-ssrs-2005

Thanks
Amit Raut
Amit Raut
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1201 Visits: 342
Agree with Snigdha. It's not supported in SSRS.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search