Last post Jul 13, 2011 05:57 AM by Ashutosh Pathak
Jul 08, 2011 03:58 PM|MyronCope|LINK
using rept builder 2.0
i want to use an expression to dynamicall change the text in the header of the main report based on which subreport is appearing, how to do this?
Ex: I have subreportA, SubreportB and SubreportC on the page.
Only one subreport will appear on the page, is it possible to check the visibility of the subreports in the header and then changed the header text accordinly?
Jul 13, 2011 03:49 AM|You-Hu Fu|LINK
Since you can display the subreport dynamically using the expression, you can also make use of this expression to show the header dynamically, just like this expression =IIF(Parameters!Para.value="Value","Header1","Header2")
If I misunderstand you ,pleae feel free to let us know.
Jul 13, 2011 05:57 AM|Ashutosh Pathak|LINK
yes just go to the Header properties and use expression like below:
=iif(!param.value="SomeValue","Dynamic Text","Static Text")