Subreports
Hi,
I would like to know if there's a way to delete or hide the sub reports designed in the designer. Here's the situation :
For our application, we design reports, which are configurable. Because of this, we dynamically create the required SQL statements and
assigned them to the Databands. However, these configuration may sometimes required that some parts of the report to be hid.
For better performances, we do not bind the non-required statements. However, we get errors because the report do not find the data.
I tried to hid the subreports : I get the "Invalid expression term"
I tried to delete the non-needed sub report : I get a "null reference exception"
Can someone help me?
Thanks.
Fast report Version : current 1.3 stable version.
I would like to know if there's a way to delete or hide the sub reports designed in the designer. Here's the situation :
For our application, we design reports, which are configurable. Because of this, we dynamically create the required SQL statements and
assigned them to the Databands. However, these configuration may sometimes required that some parts of the report to be hid.
For better performances, we do not bind the non-required statements. However, we get errors because the report do not find the data.
I tried to hid the subreports : I get the "Invalid expression term"
I tried to delete the non-needed sub report : I get a "null reference exception"
Can someone help me?
Thanks.
Fast report Version : current 1.3 stable version.
Comments
If you don't want to print a subreport, just set its Visible property to false.
When i set the subreport visible property to false like this :
I get :
and this goes on for all the fields in the subreport.