February 7, 2009 at 2:48 am
I am using the main report with multiple sub reports. Now I want hide the sub report based on the parameter value or controls values in the main report.
Thanks in advance.
February 9, 2009 at 6:39 am
Use an expression based on the parameter to set the Hidden property of the subreport.
IIF(Parameters.ShowSub.Value = "True", False, True)
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
February 23, 2010 at 10:53 am
Hi,
Below is the Detailed information,
Add subreport in ur main report,then go to subreport properties and go the visibility tab under that choose "Show or hide based on the Expression"
in Expression use
=Iif(parameter!<yourparametername>.value="Yourematchedcriteria",true,false)
Thanks & Regards,
Veeren.
Ignore this if you feel i am Wrong. 😉
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply