Enabled property of the page based on the null value
Enabled property of the page based on the null value
Is it possible to create an expression which turns the 'Enable' value of a page from True to False, etc.? For example, I have a report with multiple pages. When the filter for a specific page comes up null, said page is printed as a blank page. is there a way of disabling this page assuming null?
Re: Enabled property of the page based on the null value
Hello.
You should set Conditions for the page.
If you disable the Component is Enabled option, the Page will be disabled if the expression is true.
Thank you.
You should set Conditions for the page.
If you disable the Component is Enabled option, the Page will be disabled if the expression is true.
Thank you.
Re: Enabled property of the page based on the null value
Thank you! Any chance I can get a little help writing the expression...pretty please?
Obviously, this is not correct: {IIF(DataBand4=null, Enabled=true, Enabled=False)}
Obviously, this is not correct: {IIF(DataBand4=null, Enabled=true, Enabled=False)}
Re: Enabled property of the page based on the null value
Hello,
If we understand your task correctly then you need to write the following expression, for example: where YourDataSource is datasource used in the DataBand4.
If the issue is still present, please send to us a sample report template with data, which reproduce the issue, for analysis.
Thank you.
If we understand your task correctly then you need to write the following expression, for example:
Code: Select all
YourDataSource.Count == 0
If the issue is still present, please send to us a sample report template with data, which reproduce the issue, for analysis.
Thank you.
- Attachments
-
- PageCondition.png (33.75 KiB) Viewed 2325 times