CountIf doesn't work in events?
Posted: Sat Dec 02, 2017 11:48 pm
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?
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?