I can use CountIf(Column == true) in a text label and get the correct count.
Now, I want to disable a page by using the same countIf function if its value is == 0. When I try to use it in the Conditions editor for the page, it doesn't work. When I tried to use it in the BeforePrint event of the page, it didn't work either.
How do I hide a page if the total count of data = 0?
CountIf doesn't work in events?
Re: CountIf doesn't work in events?
Hello,
There are no standard ways for this task.
Please send us a sample report with test data, we will try to find a solution for you.
Thank you.
There are no standard ways for this task.
Please send us a sample report with test data, we will try to find a solution for you.
Thank you.
Re: CountIf doesn't work in events?
That's what I thought. Never mind, I created another datasource with the filtered results and am checking the count in the before print event of the page to enable/disable it.
Re: CountIf doesn't work in events?
Hello
Ok
Please let us know if you need any additional help.
Thank you.
Ok
Please let us know if you need any additional help.
Thank you.