My question is maybe not good, but here is the thing. I export my report in two types: PDF and HTML. In my designer, I am using Page Header for my grid and I need that section on every page of PDF file and only on the first page of HTML file. I made a bool parameter(which I pass through c# code) and use this formula on the "x-2" button of Suppress option of the section:
if MyBool = true
PageNumber > 1 // HTML case
else
"" // PDF case I need a blank formula in else case because I will show this section on every page
So, the problem is else case, where I tried with "false", but it is not working. So, basically I need opposite of the "PageNumber > 1". In my code, I only passed the parameter like this:
mainReport.SetParameterValue("MyBool", false);
Thanks.
I am not sure whether I have addressed your problem.. but I want to suggest below approach.
Since you are writing in supress formula:
If (MyBool = true and PageNumber > 1)
true // HTML and XLS case
else
false // PDF case