Conditional printing of page-header on report

I have a problem which is surely common. I have a page-header which I do not wish to show on the first page of a report, since the report-header goes here. Conditional printing should surely solve this, but what is the expression to be?

I have tried PageNumber()>1 in various forms, but this either doesn’t work at all, or it suppresses all page headers!

Advice please on the correct code/syntax.

No chance with Report Builder. Report Builder only uses one format for a page. It doesn’t know anything about the possibility not to show the header on the first page.

You could only execute the report, set it for editing and change the property of the page for header of the page.

In that case, can I attach print conditions to the fields in the header (which are only label fields)? I have again found expressions which suppress them completely, but which do not respond to individual pages.

The conditions doesn’t know anything of the page number. So no chance to get a condition not to show the elements on the first page.

All you could do is to get it working by editing afterwords of by doing all this by macro. But: I don’t know which property to search for when searching for the properties of the page of a Writer document.

If you start a report by

SUB ReportStart
oReport = ThisDatabaseDocument.ReportDocuments.getByName("NameOfYourReport").open
END SUB

you will get the object of the Writer document of the report and could change the properties of the page.

Thank you. This is an irritation - but a private one, so I can live with it!